ath9k_htc: Fix BSSID calculation
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Tue, 17 May 2011 07:12:03 +0000 (12:42 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 May 2011 17:54:01 +0000 (13:54 -0400)
commit0cd075d74b319b88bbaad666c2b9b911859a5b0e
tree26ae2e903713fa8c2c3710dc98a690ec58b8dd42
parent33a5315f97e5b3964183f0cf74768ac47eabe631
ath9k_htc: Fix BSSID calculation

The BSSID/AID has to be set for the first associated station interface.
Subsequent interfaces may move out of assoc/disassoc status, in which
case, the BSSID has to be re-calculated from the available interfaces.
Also, ANI should be enabled or disabled based on the current opmode.

Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc.h
drivers/net/wireless/ath/ath9k/htc_drv_main.c