ath9k: cleanup beacon parameters configuration
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Fri, 15 May 2009 13:29:22 +0000 (18:59 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 May 2009 18:46:26 +0000 (14:46 -0400)
commit6b96f93e962e25d38d7a73c0009597672d87c496
treeeb5bfd9d9ad14ec37c8846b50fe9a87e4133774a
parentd31e20af9f65e38429a3ed32175f8e233bdcd2b2
ath9k: cleanup beacon parameters configuration

This patch configures the beacon timers with beacon interval
and beacon period passed through vif.bss_conf. Also cache the
currecnt beacon configuration which will be used to configure
the beacon timers when the driver triggers it after reset.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/beacon.c