projects
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
858c6c6
)
net: wireless: Fix CFG80211_ALLOW_RECONNECT option for disconnect
author
Dmitry Shmidt
<dimitrysh@google.com>
Tue, 18 Oct 2011 19:30:02 +0000
(12:30 -0700)
committer
mgross
<mark.gross@intel.com>
Wed, 9 Nov 2011 20:25:01 +0000
(12:25 -0800)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
net/wireless/sme.c
patch
|
blob
|
history
diff --git
a/net/wireless/sme.c
b/net/wireless/sme.c
index
f8d266a
..
81e6747
100644
(file)
--- a/
net/wireless/sme.c
+++ b/
net/wireless/sme.c
@@
-659,8
+659,10
@@
void __cfg80211_disconnected(struct net_device *dev, const u8 *ie,
wdev->iftype != NL80211_IFTYPE_P2P_CLIENT))
return;
+#ifndef CONFIG_CFG80211_ALLOW_RECONNECT
if (wdev->sme_state != CFG80211_SME_CONNECTED)
return;
+#endif
if (wdev->current_bss) {
cfg80211_unhold_bss(wdev->current_bss);