]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix beacons for managed mode
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 5 Sep 2014 02:33:10 +0000 (08:03 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Sep 2014 19:27:20 +0000 (15:27 -0400)
commitc1dd951b403097bfb1ff8108d1ff9753af9b8175
tree8f229a048d540528fdc42dd6690eac5d46d94399
parent4c97dd6e4b7dbbdbcdd825df72d38318d74f66b1
ath9k: Fix beacons for managed mode

If the current opmode is managed, the ATH_OP_BEACONS flag
needs to be set only when there is a primary station interface
and it is associated/active.

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