ath9k: use the hw opmode to select the beacon timer mode
authorFelix Fietkau <nbd@openwrt.org>
Sat, 2 Apr 2011 01:39:48 +0000 (03:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:34:13 +0000 (15:34 -0400)
commit26cd322bacd3d65fffef6f8418c2fdad5b42e4b5
treeb1bda8c764912d6be3ff22ba681459d725154c65
parent5e65968a10bb628b87024161c9adc8dbd886b47a
ath9k: use the hw opmode to select the beacon timer mode

Since the beacon timers are global, the individual vif type should not
be used to determine the beacon timer configuration mode, use the
global opmode instead.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/beacon.c