aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/mac80211/mlme.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index f80dc2535709..563ceb4d2252 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -2009,6 +2009,10 @@ static void ieee80211_sta_merge_ibss(struct ieee80211_sub_if_data *sdata,
2009 if (ieee80211_sta_active_ibss(sdata)) 2009 if (ieee80211_sta_active_ibss(sdata))
2010 return; 2010 return;
2011 2011
2012 if ((sdata->u.sta.flags & IEEE80211_STA_BSSID_SET) &&
2013 (!(sdata->u.sta.flags & IEEE80211_STA_AUTO_CHANNEL_SEL)))
2014 return;
2015
2012 printk(KERN_DEBUG "%s: No active IBSS STAs - trying to scan for other " 2016 printk(KERN_DEBUG "%s: No active IBSS STAs - trying to scan for other "
2013 "IBSS networks with same SSID (merge)\n", sdata->dev->name); 2017 "IBSS networks with same SSID (merge)\n", sdata->dev->name);
2014 ieee80211_request_scan(sdata, ifsta->ssid, ifsta->ssid_len); 2018 ieee80211_request_scan(sdata, ifsta->ssid, ifsta->ssid_len);