]> git.baikalelectronics.ru Git - kernel.git/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)
commit144d9035c255ec00cde0442be8bd2df6cc22dc04
tree2c73200333b6069252b22d7face4adc803767482
parentf7649021248ce03f2fee94c92ddf4f409de80d10
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