ath6kl: Remove erroneous flag clearing
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Fri, 16 Nov 2012 12:51:41 +0000 (18:21 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 27 Nov 2012 19:44:27 +0000 (21:44 +0200)
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>
drivers/net/wireless/ath/ath6kl/init.c

index f21fa32..828cfbf 100644 (file)
@@ -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);