aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>2012-11-16 07:51:41 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2012-11-27 14:44:27 -0500
commit050757da5d54d8e25dc06bfbd9179c7d0073137a (patch)
treefa448b7ae808bc7a6f7879cb8408e3ec3aae2ea8
parentf5750c657a94bcc17cd2129368ff00085d475996 (diff)
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>
-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)
1801 "attempting to reset target on instance destroy\n"); 1801 "attempting to reset target on instance destroy\n");
1802 ath6kl_reset_device(ar, ar->target_type, true, true); 1802 ath6kl_reset_device(ar, ar->target_type, true, true);
1803 1803
1804 clear_bit(WLAN_ENABLED, &ar->flag);
1805
1806 up(&ar->sem); 1804 up(&ar->sem);
1807} 1805}
1808EXPORT_SYMBOL(ath6kl_stop_txrx); 1806EXPORT_SYMBOL(ath6kl_stop_txrx);