mac80211: minor cleanup
PATCH 1/1 mac80211: minor cleanup
From: Mohammed Shafi Shajakhan <[email protected]>
we would have bailed out if 'ifibss->fixed_channel'
is valid i.e. we had used 'fixed-freq' parameter in iw ibss join command. this is with the state 'IEEE80211_IBSS_MLME_JOINED' so no need to check for it
Signed-off-by Mohammed Shafi Shajakhan <[email protected]>
--- net/mac80211/ibss.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
net/mac80211/ibss.c +1 -2
@@ -642,8 +642,7 @@ static void ieee80211_sta_merge_ibss(struct ieee80211_sub_if_data *sdata) "IBSS networks with same SSID (merge)\n", sdata->name);ieee80211_request_internal_scan (sdata, - ifibss->ssid, ifibss->ssid_len, - ifibss->fixed_channel ? ifibss->channel :NULL ); + ifibss->ssid, ifibss->ssid_len,NULL ); }static void ieee80211_sta_create_ibss (struct ieee80211_sub_if_data *sdata)
Signature · 1 line
1.7.0.4