commit | 661d25815ea533d06c7535ddd1c4810fa7ab9e22 | [log] [tgz] |
---|---|---|
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | Fri Jan 30 19:05:26 2015 +0530 |
committer | Kalle Valo <kvalo@codeaurora.org> | Tue Feb 03 15:31:03 2015 +0200 |
tree | 493762b764badb8483591008ff677367a2cb1341 | |
parent | 1331f5a751eb143bc7732c880bbdde4431e90a77 [diff] |
ath9k: Fix wow init/deinit Registering the card as a wakeup source needs to be done once, during initialization. When the WOW configuration changes, the card's status as wakeup source needs to be changed too and this is done via the set_wakeup() callback. Also, make sure the device is removed properly using ath9k_deinit_wow(). Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>