ath9k_htc: Handle BSSID/AID for multiple interfaces
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Sun, 27 Feb 2011 03:50:40 +0000 (09:20 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Mar 2011 18:48:21 +0000 (13:48 -0500)
commite7a2a4f5e61ccfae03185384e06b852dbb1e3630
treef798c3576f9eaf7ecaf3e7ee7c2cb85435b6d84c
parent67289941d80f18fd8239e350e015a4b84878412b
ath9k_htc: Handle BSSID/AID for multiple interfaces

The AID and BSSID should be set in the HW only for the
first station interface or adhoc interface. Also, cancel
the ANI timer in stop() for multi-STA scenario. And finally
configure the HW beacon timers only for the first station
interface.

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_beacon.c
drivers/net/wireless/ath/ath9k/htc_drv_main.c