projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
229ed6b
)
ath6kl: Do not clear CONNECT bit setting in AP mode for STA disconnect
author
Edward Lu
<elu@qca.qualcomm.com>
Tue, 30 Aug 2011 18:58:08 +0000
(21:58 +0300)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Wed, 31 Aug 2011 07:13:02 +0000
(10:13 +0300)
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>
drivers/net/wireless/ath/ath6kl/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath6kl/main.c
b/drivers/net/wireless/ath/ath6kl/main.c
index
a19caec
..
69a1b45
100644
(file)
--- 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,
cfg80211_del_sta(ar->net_dev, bssid, GFP_KERNEL);
}
- clear_bit(CONNECTED, &ar->flag);
+ if (memcmp(ar->net_dev->dev_addr, bssid, ETH_ALEN) == 0)
+ clear_bit(CONNECTED, &ar->flag);
return;
}