]> Pileus Git - ~andy/linux/commit
ath9k: Fix beacon generation on foreign channel
authorRajkumar Manoharan <rmanoharan@atheros.com>
Sun, 17 Apr 2011 16:08:10 +0000 (21:38 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Apr 2011 19:38:05 +0000 (15:38 -0400)
commit8e22ad323fb5b7cefb572bd8730e3abef95cdf90
tree2c73200333b6069252b22d7face4adc803767482
parentdcf55fb5d43bd82e1e3bf94f065cfe8f75a4bc5a
ath9k: Fix beacon generation on foreign channel

While leaving the oper channel, beacon generation is stopped
by mac80211 and beacon slots are marked as inactive.
During the scan, ath9k configures beacon timers
based on IEEE80211_CONF_OFFCHANNEL which inturn generates
beacon alert even though bslot is inactive.

ath9k fails to disable beacon alert while moving to offchannel
if none of the beacon slot is active. This is causing beacon
transmission on foreign channel. This patch enables swba
based on active bslots.

This issue was reported with two vifs (AP+STA) and triggered
scan in STA vif in unassociated state.

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