mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
mac80211: minor cleanup
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 <mohammed@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
fb4961dbc2
commit
39d02a7d90
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
"IBSS networks with same SSID (merge)\n", sdata->name);
|
||||||
|
|
||||||
ieee80211_request_internal_scan(sdata,
|
ieee80211_request_internal_scan(sdata,
|
||||||
ifibss->ssid, ifibss->ssid_len,
|
ifibss->ssid, ifibss->ssid_len, NULL);
|
||||||
ifibss->fixed_channel ? ifibss->channel : NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata)
|
static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata)
|
||||||
|
|
Loading…
Add table
Reference in a new issue