ath9k: Cache beacon config after association
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Thu, 26 Jun 2014 11:24:40 +0000 (16:54 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 1 Jul 2014 18:26:25 +0000 (14:26 -0400)
commit9198cf4a84249f5eed8be1f02b17245b7d763477
tree14a6fdcfae71c4b9699674d7b71c3af1534d82d6
parentb76ff0d2e0aaf52adf0e7ec0625aa48a039cba23
ath9k: Cache beacon config after association

The beacon configurations are not cached properly after the station
associates with AP. Not handling BEACON_INFO, is failing to update
dtim period and also it is causing below warning message.

WARNING: CPU: 1 PID: 0 at drivers/net/wireless/ath/ath9k/recv.c:548
ath_rx_tasklet+0xc89/0xca0 [ath9k]()
 Call Trace:
  [<c14669c9>] dump_stack+0x48/0x69
  [<c104f1a2>] warn_slowpath_common+0x82/0xa0
  [<fd38c2f9>] ? ath_rx_tasklet+0xc89/0xca0 [ath9k]
  [<fd38c2f9>] ? ath_rx_tasklet+0xc89/0xca0 [ath9k]

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