aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/ibss.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index c2a708e3a18c..f95750b423e3 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -293,12 +293,8 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata,
293 293
294 /* check if we need to merge IBSS */ 294 /* check if we need to merge IBSS */
295 295
296 /* merge only on beacons (???) */
297 if (!beacon)
298 goto put_bss;
299
300 /* we use a fixed BSSID */ 296 /* we use a fixed BSSID */
301 if (sdata->u.ibss.bssid) 297 if (sdata->u.ibss.fixed_bssid)
302 goto put_bss; 298 goto put_bss;
303 299
304 /* not an IBSS */ 300 /* not an IBSS */