ath6kl: Fix reconnection issue after recovery
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Tue, 11 Sep 2012 06:37:00 +0000 (12:07 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 24 Oct 2012 08:49:50 +0000 (11:49 +0300)
commit58109df67aa073756eb5a2dc2ae068bc1bbcc125
tree65408455d7c23ffaef7e973ebba52b2933c67f7e
parentf08dbda25f14d6b9c1ba131f65d0c32917733f6c
ath6kl: Fix reconnection issue after recovery

Disallowing any wmi commands while re-initializing the
firmware results in connection failures after recovery
is done in open/WEP mode. To fix this, clear WMI_READY,
to make sure no wmi command is tried while fw is down.
Remove ATH6KL_STATE_RECOVERY state check in ath6kl_control_tx()
so that any configuration during fw init time will go through
using wmi commands.

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