Skip to contentSkip to conversation

ath6kl: Remove erroneous flag clearing

PATCH In review Mohammed Shafi Shajakhan 2 participants 2 messages Nov 16, 2012 – Nov 27, 2012 Atheros ATH6KL wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 ath6kl: Remove erroneous flag clearing

From: Mohammed Shafi Shajakhan <[email protected]>

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.

---
 drivers/net/wireless/ath/ath6kl/init.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/wireless/ath/ath6kl/init.c +0 -2
index 424676e..4fddf12 100644
@@ -1798,8 +1798,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);
Signature · 1 line
1.7.0.4