ath6kl: Fix bug in scheduling hb_timer
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Mon, 3 Sep 2012 07:19:34 +0000 (12:49 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 24 Oct 2012 08:49:49 +0000 (11:49 +0300)
commit9d9188409aef2f3bebd1956d2f15bc970efcea7b
treefd866acbb72cdd5ce5870c5d22bd2760716da3f4
parent77565794eb69cf73a5808c04b01bc2a97ebf32d3
ath6kl: Fix bug in scheduling hb_timer

hb_timer should be scheduled only when hb_poll is non-zero.
But in ath6kl_recovery_work() the timer is scheduled based
on fw_recovery.enable instead which is wrong.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/recovery.c