Skip to content

Commit

Permalink
ath9k: configure bss info at assoc notification
Browse files Browse the repository at this point in the history
The proper place to configure bss info is at assoc notification. So that
ath9k continues to work if the supirous bssid notification will be
removed in future.

Cc: Johannes Berg <johannes@sipsolutions.net>
Reported-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Rajkumar Manoharan authored and John W. Linville committed Mar 12, 2012
1 parent 3cd7920 commit 9f61903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1973,7 +1973,7 @@ static void ath9k_bss_info_changed(struct ieee80211_hw *hw,
ath9k_ps_wakeup(sc);
mutex_lock(&sc->mutex);

if (changed & BSS_CHANGED_BSSID) {
if (changed & BSS_CHANGED_ASSOC) {
ath9k_config_bss(sc, vif);

ath_dbg(common, CONFIG, "BSSID: %pM aid: 0x%x\n",
Expand Down

0 comments on commit 9f61903

Please sign in to comment.