Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159421
b: refs/heads/master
c: 3ce1b1a
h: refs/heads/master
i:
  159419: 6bae367
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Aug 4, 2009
1 parent ed99368 commit b081789
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9db6b6a25fd829a0d29480785ac0770a1e76f9a4
refs/heads/master: 3ce1b1a949ae849fb73556867e60977a65ca3141
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1278,6 +1278,7 @@ void ath_detach(struct ath_softc *sc)
ath_tx_cleanupq(sc, &sc->tx.txq[i]);

ath9k_hw_detach(sc->sc_ah);
sc->sc_ah = NULL;
ath9k_exit_debug(sc);
}

Expand Down Expand Up @@ -1521,6 +1522,7 @@ static int ath_init_softc(u16 devid, struct ath_softc *sc)
bad:
if (ah)
ath9k_hw_detach(ah);
sc->sc_ah = NULL;
bad_no_ah:
ath9k_exit_debug(sc);

Expand Down Expand Up @@ -1631,6 +1633,7 @@ int ath_init_device(u16 devid, struct ath_softc *sc)
ath_tx_cleanupq(sc, &sc->tx.txq[i]);

ath9k_hw_detach(sc->sc_ah);
sc->sc_ah = NULL;
ath9k_exit_debug(sc);

return error;
Expand Down

0 comments on commit b081789

Please sign in to comment.