mac80211: remove spurious BSSID change flag
authorJohannes Berg <johannes.berg@intel.com>
Thu, 8 Mar 2012 14:02:06 +0000 (15:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Mar 2012 18:22:14 +0000 (14:22 -0400)
The BSSID has been set a lot earlier already and
didn't change again in ieee80211_set_associated().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c

index b60768368ce58db7527386805ec32f267011cf74..5c82354d18c46428c3a96b9d4f965b59fcf35f2a 100644 (file)
@@ -1351,9 +1351,6 @@ static void ieee80211_set_associated(struct ieee80211_sub_if_data *sdata,
         */
        bss_info_changed |= BSS_CHANGED_BASIC_RATES;
 
-       /* And the BSSID changed - we're associated now */
-       bss_info_changed |= BSS_CHANGED_BSSID;
-
        /* Tell the driver to monitor connection quality (if supported) */
        if (sdata->vif.driver_flags & IEEE80211_VIF_SUPPORTS_CQM_RSSI &&
            bss_conf->cqm_rssi_thold)