projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ece7fd7
)
mac80211: add missing channel context release
author
Johannes Berg
<johannes.berg@intel.com>
Tue, 20 Aug 2013 09:28:50 +0000
(11:28 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 8 Sep 2013 05:09:59 +0000
(22:09 -0700)
commit
2a3ba63c235fdcd37f6451bdf4a0c7865a3930cf
upstream.
IBSS needs to release the channel context when leaving
but I evidently missed that. Fix it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/ibss.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/ibss.c
b/net/mac80211/ibss.c
index 170f9a7fa3190afee4148bb4caf0c817a53b7991..3052672e37f74f16eca01fcc05eea73442584cc0 100644
(file)
--- a/
net/mac80211/ibss.c
+++ b/
net/mac80211/ibss.c
@@
-1166,6
+1166,7
@@
int ieee80211_ibss_leave(struct ieee80211_sub_if_data *sdata)
clear_bit(SDATA_STATE_OFFCHANNEL_BEACON_STOPPED, &sdata->state);
ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_BEACON_ENABLED |
BSS_CHANGED_IBSS);
+ ieee80211_vif_release_channel(sdata);
synchronize_rcu();
kfree(presp);