diff options
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 2e9da9aa38e7..ea1173fd598c 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c | |||
@@ -3025,9 +3025,6 @@ static void mwl8k_bss_info_changed(struct ieee80211_hw *hw, | |||
3025 | struct mwl8k_vif *mwl8k_vif = MWL8K_VIF(vif); | 3025 | struct mwl8k_vif *mwl8k_vif = MWL8K_VIF(vif); |
3026 | int rc; | 3026 | int rc; |
3027 | 3027 | ||
3028 | if (changed & BSS_CHANGED_BSSID) | ||
3029 | memcpy(mwl8k_vif->bssid, info->bssid, ETH_ALEN); | ||
3030 | |||
3031 | if ((changed & BSS_CHANGED_ASSOC) == 0) | 3028 | if ((changed & BSS_CHANGED_ASSOC) == 0) |
3032 | return; | 3029 | return; |
3033 | 3030 | ||
@@ -3041,6 +3038,8 @@ static void mwl8k_bss_info_changed(struct ieee80211_hw *hw, | |||
3041 | memcpy(&mwl8k_vif->bss_info, info, | 3038 | memcpy(&mwl8k_vif->bss_info, info, |
3042 | sizeof(struct ieee80211_bss_conf)); | 3039 | sizeof(struct ieee80211_bss_conf)); |
3043 | 3040 | ||
3041 | memcpy(mwl8k_vif->bssid, info->bssid, ETH_ALEN); | ||
3042 | |||
3044 | /* Install rates */ | 3043 | /* Install rates */ |
3045 | rc = mwl8k_update_rateset(hw, vif); | 3044 | rc = mwl8k_update_rateset(hw, vif); |
3046 | if (rc) | 3045 | if (rc) |