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:
b6a4d75
)
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
Arve Hjønnevåg
<arve@android.com>
Mon, 1 Jul 2013 20:40:34 +0000
(13:40 -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 c260e39ea05564eca3d24d5d2d974dadadc24a16..49ad81dfae550489040b42fe537d062fcf1deb30 100644
(file)
--- a/
net/wireless/sme.c
+++ b/
net/wireless/sme.c
@@
-707,8
+707,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);