rtwn: drop unneeded (after r315583) code.
Tested with RTL8188EU, HOSTAP mode + RTL8821AU, STA mode (fast-frames / A-MSDU).
This commit is contained in:
parent
abb0adffde
commit
2e184b72c3
@ -280,17 +280,6 @@ rtwn_pci_rx_done(struct rtwn_softc *sc)
|
|||||||
|
|
||||||
ring->cur = (ring->cur + 1) % RTWN_PCI_RX_LIST_COUNT;
|
ring->cur = (ring->cur + 1) % RTWN_PCI_RX_LIST_COUNT;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Finished receive; age anything left on the FF queue by a little bump */
|
|
||||||
/*
|
|
||||||
* XXX TODO: just make this a callout timer schedule so we can
|
|
||||||
* flush the FF staging queue if we're approaching idle.
|
|
||||||
*/
|
|
||||||
#ifdef IEEE80211_SUPPORT_SUPERG
|
|
||||||
if (!(sc->sc_flags & RTWN_FW_LOADED) ||
|
|
||||||
sc->sc_ratectl != RTWN_RATECTL_NET80211)
|
|
||||||
rtwn_cmd_sleepable(sc, NULL, 0, rtwn_ff_flush_all);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -319,17 +319,6 @@ tr_setup:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
finish:
|
finish:
|
||||||
/* Finished receive; age anything left on the FF queue by a little bump */
|
|
||||||
/*
|
|
||||||
* XXX TODO: just make this a callout timer schedule so we can
|
|
||||||
* flush the FF staging queue if we're approaching idle.
|
|
||||||
*/
|
|
||||||
#ifdef IEEE80211_SUPPORT_SUPERG
|
|
||||||
if (!(sc->sc_flags & RTWN_FW_LOADED) ||
|
|
||||||
sc->sc_ratectl != RTWN_RATECTL_NET80211)
|
|
||||||
rtwn_cmd_sleepable(sc, NULL, 0, rtwn_ff_flush_all);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Kick-start more transmit in case we stalled */
|
/* Kick-start more transmit in case we stalled */
|
||||||
rtwn_start(sc);
|
rtwn_start(sc);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user