summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/xmit.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2008-08-11 14:05:26 +0530
committerJohn W. Linville <linville@tuxdriver.com>2008-08-29 16:24:00 -0400
commit7c56d24bc80112daadc7ef54247a5fc8397dbc5c (patch)
tree25fb4a594a76ecb0d4959ed0e3e7611a2663a80e /drivers/net/wireless/ath9k/xmit.c
parent672840ac04f79f499b60b9f0eb41799c837db4eb (diff)
downloadblackbird-op-linux-7c56d24bc80112daadc7ef54247a5fc8397dbc5c.tar.gz
blackbird-op-linux-7c56d24bc80112daadc7ef54247a5fc8397dbc5c.zip
ath9k: Use ah_curchan and remove sc_curchan which is redundant
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/xmit.c')
-rw-r--r--drivers/net/wireless/ath9k/xmit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/xmit.c b/drivers/net/wireless/ath9k/xmit.c
index 75a84924b4dc..9ea5d9333305 100644
--- a/drivers/net/wireless/ath9k/xmit.c
+++ b/drivers/net/wireless/ath9k/xmit.c
@@ -1456,7 +1456,7 @@ static void ath_drain_txdataq(struct ath_softc *sc, bool retry_tx)
spin_lock_bh(&sc->sc_resetlock);
if (!ath9k_hw_reset(ah,
- &sc->sc_curchan, ht_macmode,
+ sc->sc_ah->ah_curchan, ht_macmode,
sc->sc_tx_chainmask, sc->sc_rx_chainmask,
sc->sc_ht_extprotspacing, true, &status)) {
OpenPOWER on IntegriCloud