aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-01-30 15:28:11 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-01-30 15:28:11 -0500
commitc037b8367c7e2b775a99d74037f5df014d2fbf06 (patch)
tree7355a2162d6b8ac7de1cc3cb29e34aec723a68b1 /net/mac80211
parent41b2d62702730b0c6bc5a40722e423bb0338311a (diff)
Revert "mac80211: Do not scan for IBSS merge with a fixed BSSID."
This reverts commit f1e3be1561c43b6bbe2426e34849fb1486dc313b. Johannes Berg <johannes@sipsolutions.net> thinks that this patch is incorrect. I'll defer to his judgment. Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/ibss.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index 93b3c7298be3..d38baa41cf6c 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -655,15 +655,14 @@ static void ieee80211_sta_merge_ibss(struct ieee80211_sub_if_data *sdata)
655 if (ieee80211_sta_active_ibss(sdata)) 655 if (ieee80211_sta_active_ibss(sdata))
656 return; 656 return;
657 657
658 if (ifibss->fixed_bssid) 658 if (ifibss->fixed_channel)
659 return; 659 return;
660 660
661 printk(KERN_DEBUG "%s: No active IBSS STAs - trying to scan for other " 661 printk(KERN_DEBUG "%s: No active IBSS STAs - trying to scan for other "
662 "IBSS networks with same SSID (merge)\n", sdata->name); 662 "IBSS networks with same SSID (merge)\n", sdata->name);
663 663
664 ieee80211_request_internal_scan(sdata, 664 ieee80211_request_internal_scan(sdata,
665 ifibss->ssid, ifibss->ssid_len, 665 ifibss->ssid, ifibss->ssid_len, NULL);
666 ifibss->fixed_channel ? ifibss->channel : NULL);
667} 666}
668 667
669static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata) 668static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata)