summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSujith Manoharan <Sujith.Manoharan@atheros.com>2011-05-17 12:41:41 +0530
committerJohn W. Linville <linville@tuxdriver.com>2011-05-19 13:54:00 -0400
commitdb32124a3f463e551ebffe3b4c6045924d3dfafd (patch)
treea7523faf7ef2b4894ec8b03dba224d3451d186d7 /drivers
parent84dfa7308ccba190ad7efe655c25ca80793c029e (diff)
downloadlinux-stable-db32124a3f463e551ebffe3b4c6045924d3dfafd.tar.gz
linux-stable-db32124a3f463e551ebffe3b4c6045924d3dfafd.tar.bz2
linux-stable-db32124a3f463e551ebffe3b4c6045924d3dfafd.zip
ath9k_htc: Recalculate the BSSID mask on interface
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
index b1b86135b634..8a82e821665c 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
@@ -1164,6 +1164,8 @@ static void ath9k_htc_remove_interface(struct ieee80211_hw *hw,
ath9k_htc_set_opmode(priv);
+ ath9k_htc_set_bssid_mask(priv, vif);
+
/*
* Stop ANI only if there are no associated station interfaces.
*/