diff options
author | Edward Lu <elu@qca.qualcomm.com> | 2011-08-30 14:58:08 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2011-08-31 03:13:02 -0400 |
commit | a587526a44d0c2812ee9d650e7c0626b48697aca (patch) | |
tree | 64001572211a327298b675647dcaa8dbfeb29cac | |
parent | 229ed6b55f3caa4f1a975fd297ec44c5cedf4ea0 (diff) |
ath6kl: Do not clear CONNECT bit setting in AP mode for STA disconnect
Signed-off-by: Edward Lu <elu@qca.qualcomm.com>
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/main.c b/drivers/net/wireless/ath/ath6kl/main.c index a19caecdfdeb..69a1b45179c5 100644 --- a/drivers/net/wireless/ath/ath6kl/main.c +++ b/drivers/net/wireless/ath/ath6kl/main.c | |||
@@ -1284,7 +1284,8 @@ void ath6kl_disconnect_event(struct ath6kl *ar, u8 reason, u8 *bssid, | |||
1284 | cfg80211_del_sta(ar->net_dev, bssid, GFP_KERNEL); | 1284 | cfg80211_del_sta(ar->net_dev, bssid, GFP_KERNEL); |
1285 | } | 1285 | } |
1286 | 1286 | ||
1287 | clear_bit(CONNECTED, &ar->flag); | 1287 | if (memcmp(ar->net_dev->dev_addr, bssid, ETH_ALEN) == 0) |
1288 | clear_bit(CONNECTED, &ar->flag); | ||
1288 | return; | 1289 | return; |
1289 | } | 1290 | } |
1290 | 1291 | ||