ath9k: Handle BSSID/AID for multiple interfaces
authorRajkumar Manoharan <rmanoharan@atheros.com>
Mon, 4 Apr 2011 17:26:18 +0000 (22:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:34:15 +0000 (15:34 -0400)
commit4f5ef75b155955bf92adc772c6660787151fc78c
tree8b274c152875ac445b1de352709f9bc371253b48
parent66da424177db4f4f2fa7a462db5912655aad966f
ath9k: Handle BSSID/AID for multiple interfaces

As of now bssid/aid is overridden with recently changed vif's
bss config. This may cause improper beacon updation due to
bssid/aid mismatch. On station mode, select an associated
sta vif as primary vif and configure that vif's bss into hw.
Update the primary vif on interface change and bss info change.

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