projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd7285
)
mac80211: ibss: remove unnecessary call to release channel
author
Luciano Coelho
<
[email protected]
>
Tue, 28 Jan 2014 15:09:08 +0000
(17:09 +0200)
committer
Johannes Berg
<
[email protected]
>
Tue, 4 Feb 2014 20:58:11 +0000
(21:58 +0100)
The ieee80211_vif_use_channel() function calls
ieee80211_vif_release_channel(), so there's no need to call it
explicitly in __ieee80211_sta_join_ibss().
Signed-off-by: Luciano Coelho <
[email protected]
>
Signed-off-by: Johannes Berg <
[email protected]
>
net/mac80211/ibss.c
patch
|
blob
|
history
diff --git
a/net/mac80211/ibss.c
b/net/mac80211/ibss.c
index b2da79f019d4503c313402417112ee3a04dde6b4..a35f37980e7070fa641fe8f9740cfab3ba8cd3fb 100644
(file)
--- a/
net/mac80211/ibss.c
+++ b/
net/mac80211/ibss.c
@@
-294,7
+294,6
@@
static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata,
}
mutex_lock(&local->mtx);
- ieee80211_vif_release_channel(sdata);
if (ieee80211_vif_use_channel(sdata, &chandef,
ifibss->fixed_channel ?
IEEE80211_CHANCTX_SHARED :