ath9k_htc: Recalculate the BSSID mask on interface
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Tue, 17 May 2011 07:11:41 +0000 (12:41 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 May 2011 17:54:00 +0000 (13:54 -0400)
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_main.c

index b1b86135b634786b721b56f07c70baa7dbd44dc1..8a82e821665c433b51c667cdadf3578ba9537fa1 100644 (file)
@@ -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.
         */