|
@@ -1644,6 +1644,7 @@ static void ieee80211_rx_bss_info(struct ieee80211_sub_if_data *sdata,
|
|
|
|
|
|
/* check if we need to merge IBSS */
|
|
/* check if we need to merge IBSS */
|
|
if (sdata->vif.type == NL80211_IFTYPE_ADHOC && beacon &&
|
|
if (sdata->vif.type == NL80211_IFTYPE_ADHOC && beacon &&
|
|
|
|
+ (!(sdata->u.sta.flags & IEEE80211_STA_BSSID_SET)) &&
|
|
bss->capability & WLAN_CAPABILITY_IBSS &&
|
|
bss->capability & WLAN_CAPABILITY_IBSS &&
|
|
bss->freq == local->oper_channel->center_freq &&
|
|
bss->freq == local->oper_channel->center_freq &&
|
|
elems->ssid_len == sdata->u.sta.ssid_len &&
|
|
elems->ssid_len == sdata->u.sta.ssid_len &&
|