summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>2012-11-16 13:51:41 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2012-11-27 20:44:27 +0100
commit050757da5d54d8e25dc06bfbd9179c7d0073137a (patch)
treefa448b7ae808bc7a6f7879cb8408e3ec3aae2ea8 /drivers
parentdrivers/net/wireless/ath/ath6kl/hif.c: drop if around WARN_ON (diff)
downloadlinux-050757da5d54d8e25dc06bfbd9179c7d0073137a.tar.xz
linux-050757da5d54d8e25dc06bfbd9179c7d0073137a.zip
ath6kl: Remove erroneous flag clearing
WLAN_ENABLED is vif specific, not part of the driver's struct ath6kl. Proper clearing of this flag is already taken care in ath6kl_cleanup_vif. Cc: wei-jen jlin <jenlin@qca.qualcomm.com> Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath6kl/init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c
index f21fa322e5ca..828cfbf7f72c 100644
--- a/drivers/net/wireless/ath/ath6kl/init.c
+++ b/drivers/net/wireless/ath/ath6kl/init.c
@@ -1801,8 +1801,6 @@ void ath6kl_stop_txrx(struct ath6kl *ar)
"attempting to reset target on instance destroy\n");
ath6kl_reset_device(ar, ar->target_type, true, true);
- clear_bit(WLAN_ENABLED, &ar->flag);
-
up(&ar->sem);
}
EXPORT_SYMBOL(ath6kl_stop_txrx);