aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/join.c
diff options
context:
space:
mode:
authorJavier Cardona <javier@cozybit.com>2007-05-25 12:06:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:38 -0400
commit51d84f501684db22f5fcc30821cbbde2a0a2f264 (patch)
treee8cc735e7a285fc753dbee4f6d2cfe7d08d69023 /drivers/net/wireless/libertas/join.c
parent32a74b7c8f7b883b532e0e4333b7c3014d3d8fe8 (diff)
[PATCH] libertas: fixed transmission flow control on the mesh interface
This patch implements proper transmission flow control on mshX. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/join.c')
-rw-r--r--drivers/net/wireless/libertas/join.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c
index 10c31f56f38b..0edce849e4ad 100644
--- a/drivers/net/wireless/libertas/join.c
+++ b/drivers/net/wireless/libertas/join.c
@@ -807,6 +807,9 @@ int libertas_ret_80211_associate(wlan_private * priv,
807 netif_carrier_on(priv->wlan_dev.netdev); 807 netif_carrier_on(priv->wlan_dev.netdev);
808 netif_wake_queue(priv->wlan_dev.netdev); 808 netif_wake_queue(priv->wlan_dev.netdev);
809 809
810 netif_carrier_on(priv->mesh_dev);
811 netif_wake_queue(priv->mesh_dev);
812
810 lbs_deb_join("ASSOC_RESP: Associated \n"); 813 lbs_deb_join("ASSOC_RESP: Associated \n");
811 814
812 memcpy(wrqu.ap_addr.sa_data, adapter->curbssparams.bssid, ETH_ALEN); 815 memcpy(wrqu.ap_addr.sa_data, adapter->curbssparams.bssid, ETH_ALEN);
@@ -899,6 +902,9 @@ int libertas_ret_80211_ad_hoc_start(wlan_private * priv,
899 netif_carrier_on(priv->wlan_dev.netdev); 902 netif_carrier_on(priv->wlan_dev.netdev);
900 netif_wake_queue(priv->wlan_dev.netdev); 903 netif_wake_queue(priv->wlan_dev.netdev);
901 904
905 netif_carrier_on(priv->mesh_dev);
906 netif_wake_queue(priv->mesh_dev);
907
902 memset(&wrqu, 0, sizeof(wrqu)); 908 memset(&wrqu, 0, sizeof(wrqu));
903 memcpy(wrqu.ap_addr.sa_data, adapter->curbssparams.bssid, ETH_ALEN); 909 memcpy(wrqu.ap_addr.sa_data, adapter->curbssparams.bssid, ETH_ALEN);
904 wrqu.ap_addr.sa_family = ARPHRD_ETHER; 910 wrqu.ap_addr.sa_family = ARPHRD_ETHER;