|
@@ -3248,6 +3248,8 @@ int ieee80211_mgd_auth(struct ieee80211_sub_if_data *sdata,
|
|
|
goto out_unlock;
|
|
|
|
|
|
err_clear:
|
|
|
+ memset(ifmgd->bssid, 0, ETH_ALEN);
|
|
|
+ ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_BSSID);
|
|
|
ifmgd->auth_data = NULL;
|
|
|
err_free:
|
|
|
kfree(auth_data);
|
|
@@ -3439,6 +3441,8 @@ int ieee80211_mgd_assoc(struct ieee80211_sub_if_data *sdata,
|
|
|
err = 0;
|
|
|
goto out;
|
|
|
err_clear:
|
|
|
+ memset(ifmgd->bssid, 0, ETH_ALEN);
|
|
|
+ ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_BSSID);
|
|
|
ifmgd->assoc_data = NULL;
|
|
|
err_free:
|
|
|
kfree(assoc_data);
|