ath9k_htc: Remove OP_ASSOCIATED variable
mac80211 stores the association state in ieee80211_bss_conf. Use this and remove the local state, which is incorrect anyway since it is stored globally and not on a per-VIF basis. Restarting ANI and reconfiguration of HW beacon timers when a scan run ends requires more work. This is handled by iterating over the active interfaces. Finally, remove the useless check for associated status in RX processing. Signed-off-by:Sujith Manoharan <Sujith.Manoharan@atheros.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- drivers/net/wireless/ath/ath9k/htc.h 8 additions, 6 deletionsdrivers/net/wireless/ath/ath9k/htc.h
- drivers/net/wireless/ath/ath9k/htc_drv_beacon.c 19 additions, 0 deletionsdrivers/net/wireless/ath/ath9k/htc_drv_beacon.c
- drivers/net/wireless/ath/ath9k/htc_drv_main.c 35 additions, 21 deletionsdrivers/net/wireless/ath/ath9k/htc_drv_main.c
- drivers/net/wireless/ath/ath9k/htc_drv_txrx.c 12 additions, 14 deletionsdrivers/net/wireless/ath/ath9k/htc_drv_txrx.c
Loading
Please register or sign in to comment