]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Process beacons properly
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 17 Oct 2014 02:10:10 +0000 (07:40 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Oct 2014 18:16:14 +0000 (14:16 -0400)
commita77c7c2b7a0a2d4c58d01b53bd49ee4fca4f429d
treebfa5700d163dbe068214c89374664760a96ad9ff
parent305c8c2e71a645bdde05796dbf589490f2fa58c9
ath9k: Process beacons properly

When the current operating channel context has
been marked as ATH_CHANCTX_STATE_FORCE_ACTIVE,
do not process beacons that might be received,
since we have to wait for the station to become
authorized.

Also, since the cached TSF value will be zero
initially do not rearm the timer in this
case when a beacon is received, since it results
in spurious values.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/channel.c