Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 050757da authored by Mohammed Shafi Shajakhan's avatar Mohammed Shafi Shajakhan Committed by Kalle Valo
Browse files

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: default avatarMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent f5750c65
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);