ath6kl: fix WLAN_ENABLE usage in ath6kl_close()
authorKalle Valo <kvalo@qca.qualcomm.com>
Sun, 30 Oct 2011 19:16:33 +0000 (21:16 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:58:59 +0000 (12:58 +0200)
commit68469341f32b566481bfccb776ee03146b63bae5
tree4ba96e1f569ce34de3895f24835c38a5aa00a507
parent5fe4dffbc12b22507d2416667720cbd4b27c693b
ath6kl: fix WLAN_ENABLE usage in ath6kl_close()

If ath6kl_init_hw_stop() failed with an error WLAN_ENABLED would not
be cleared. Found during code review and just a theoretical issue.

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