|
@@ -317,7 +317,7 @@ int ath_rx_init(struct ath_softc *sc, int nbufs)
|
|
|
struct ath_buf *bf;
|
|
|
int error = 0;
|
|
|
|
|
|
- spin_lock_init(&sc->rx.rxflushlock);
|
|
|
+ spin_lock_init(&sc->rx.pcu_lock);
|
|
|
sc->sc_flags &= ~SC_OP_RXFLUSH;
|
|
|
spin_lock_init(&sc->rx.rxbuflock);
|
|
|
|
|
@@ -533,13 +533,13 @@ bool ath_stoprecv(struct ath_softc *sc)
|
|
|
|
|
|
void ath_flushrecv(struct ath_softc *sc)
|
|
|
{
|
|
|
- spin_lock_bh(&sc->rx.rxflushlock);
|
|
|
+ spin_lock_bh(&sc->rx.pcu_lock);
|
|
|
sc->sc_flags |= SC_OP_RXFLUSH;
|
|
|
if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)
|
|
|
ath_rx_tasklet(sc, 1, true);
|
|
|
ath_rx_tasklet(sc, 1, false);
|
|
|
sc->sc_flags &= ~SC_OP_RXFLUSH;
|
|
|
- spin_unlock_bh(&sc->rx.rxflushlock);
|
|
|
+ spin_unlock_bh(&sc->rx.pcu_lock);
|
|
|
}
|
|
|
|
|
|
static bool ath_beacon_dtim_pending_cab(struct sk_buff *skb)
|