projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cc01eb
)
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
Dmitry Shmidt
<dimitrysh@google.com>
Tue, 18 Oct 2011 19:30:02 +0000
(12:30 -0700)
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 f8d266a2e30593f68fee374f252e300a40da612c..81e6747003914ce73c3896078cfba0774ea55691 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);