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:
parent
a0342c8357
commit
04745ccf4c
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user