diff options
-rw-r--r-- | net/mac80211/mlme.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 563ceb4d2252..2db56605a2b6 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c | |||
@@ -1644,6 +1644,7 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata, | |||
1644 | 1644 | ||
1645 | /* check if we need to merge IBSS */ | 1645 | /* check if we need to merge IBSS */ |
1646 | if (sdata->vif.type == NL80211_IFTYPE_ADHOC && beacon && | 1646 | if (sdata->vif.type == NL80211_IFTYPE_ADHOC && beacon && |
1647 | (!(sdata->u.sta.flags & IEEE80211_STA_BSSID_SET)) && | ||
1647 | bss->capability & WLAN_CAPABILITY_IBSS && | 1648 | bss->capability & WLAN_CAPABILITY_IBSS && |
1648 | bss->freq == local->oper_channel->center_freq && | 1649 | bss->freq == local->oper_channel->center_freq && |
1649 | elems->ssid_len == sdata->u.sta.ssid_len && | 1650 | elems->ssid_len == sdata->u.sta.ssid_len && |