mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Mark a couple of places where I think the dmamap isn't being unmapped
before the TX path is being aborted. Right now it's in the TDMA code and I can live with that; but it really should get fixed. I'll do a more thorough audit of this code soon.
This commit is contained in:
parent
a91ab3c099
commit
c23a9d98bf
1 changed files with 2 additions and 0 deletions
|
|
@ -1615,6 +1615,7 @@ ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni,
|
|||
if_printf(ifp, "bogus frame type 0x%x (%s)\n",
|
||||
wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK, __func__);
|
||||
/* XXX statistic */
|
||||
/* XXX free tx dmamap */
|
||||
ath_freetx(m0);
|
||||
return EIO;
|
||||
}
|
||||
|
|
@ -1670,6 +1671,7 @@ ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni,
|
|||
DPRINTF(sc, ATH_DEBUG_TDMA,
|
||||
"%s: discard frame, ACK required w/ TDMA\n", __func__);
|
||||
sc->sc_stats.ast_tdma_ack++;
|
||||
/* XXX free tx dmamap */
|
||||
ath_freetx(m0);
|
||||
return EIO;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue