aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/attach.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/attach.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/attach.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/attach.c b/drivers/net/wireless/ath/ath5k/attach.c
index c41ef58393e..9a84d9410b2 100644
--- a/drivers/net/wireless/ath/ath5k/attach.c
+++ b/drivers/net/wireless/ath/ath5k/attach.c
@@ -319,6 +319,9 @@ struct ath5k_hw *ath5k_hw_attach(struct ath5k_softc *sc, u8 mac_version)
319 319
320 ath5k_hw_rfgain_opt_init(ah); 320 ath5k_hw_rfgain_opt_init(ah);
321 321
322 /* turn on HW LEDs */
323 ath5k_hw_set_ledstate(ah, AR5K_LED_INIT);
324
322 return ah; 325 return ah;
323err_free: 326err_free:
324 kfree(ah); 327 kfree(ah);