Must reset the pointer to the 802.11 header after prepending

for WEP in case the prepend addes a new mbuf.  This fixes WEP.
This commit is contained in:
sam 2003-10-13 03:41:32 +00:00
parent a0342c8357
commit 04745ccf4c

View File

@ -1725,6 +1725,7 @@ ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_buf *bf
return ENOMEM;
}
ivp = hdrbuf + hdrlen;
wh = mtod(m0, struct ieee80211_frame *);
/*
* XXX
* IV must not duplicate during the lifetime of the key.