History

mac80211: ibss: remove unnecessary call to release channel

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().

Luciano Coelho committed 12 years ago

Commit 9fa37a31 parent dbd72851 file · +0 −1Browse files

Unified · Split

net/mac80211/ibss.c+0−1
@@ -294,7 +294,6 @@ static void __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata, · 293 unmodified lines
294 }294 }
295 295
296 mutex_lock(&local->mtx);296 mutex_lock(&local->mtx);
297 ieee80211_vif_release_channel(sdata);
298 if (ieee80211_vif_use_channel(sdata, &chandef,297 if (ieee80211_vif_use_channel(sdata, &chandef,
299 ifibss->fixed_channel ?298 ifibss->fixed_channel ?
300 IEEE80211_CHANCTX_SHARED :299 IEEE80211_CHANCTX_SHARED :

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t