Skip to content

Commit

Permalink
mac80211: remove spurious BSSID change flag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Mar 12, 2012
1 parent 76f0303 commit 0775f9f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0775f9f

Please sign in to comment.