summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSujith Manoharan <Sujith.Manoharan@atheros.com>2011-05-17 09:11:41 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-05-19 19:54:00 +0200
commitdb32124a3f463e551ebffe3b4c6045924d3dfafd (patch)
treea7523faf7ef2b4894ec8b03dba224d3451d186d7
parentath9k_htc: Fix station flags (diff)
downloadlinux-db32124a3f463e551ebffe3b4c6045924d3dfafd.tar.xz
linux-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>
-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.
*/