]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit475f28caefaa98bfa0fcb836dc9b392c01b033e4
tree26ae2e903713fa8c2c3710dc98a690ec58b8dd42
parent032f946d1f7cb77b2499776c4d8e22ab8eb737e9
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