aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index d3d2cb667dc6..a5475b7a59de 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1520,8 +1520,7 @@ bad2:
1520 if (ATH_TXQ_SETUP(sc, i)) 1520 if (ATH_TXQ_SETUP(sc, i))
1521 ath_tx_cleanupq(sc, &sc->tx.txq[i]); 1521 ath_tx_cleanupq(sc, &sc->tx.txq[i]);
1522bad: 1522bad:
1523 if (ah) 1523 ath9k_hw_detach(ah);
1524 ath9k_hw_detach(ah);
1525 sc->sc_ah = NULL; 1524 sc->sc_ah = NULL;
1526bad_no_ah: 1525bad_no_ah:
1527 ath9k_exit_debug(sc); 1526 ath9k_exit_debug(sc);