diff options
author | Sam Leffler <sam@FreeBSD.org> | 2003-10-13 03:41:32 +0000 |
---|---|---|
committer | Sam Leffler <sam@FreeBSD.org> | 2003-10-13 03:41:32 +0000 |
commit | 167ecdca8cf95e14128be2cf0e92b39f029fcfe6 (patch) | |
tree | 2018c9ea7a3d88aab5c49f902a799e8a5a49394e /sys | |
parent | 2075afba8de79c5f28df07581faad47d04c64e57 (diff) | |
download | src-167ecdca8cf95e14128be2cf0e92b39f029fcfe6.tar.gz src-167ecdca8cf95e14128be2cf0e92b39f029fcfe6.zip |
Must reset the pointer to the 802.11 header after prepending
for WEP in case the prepend addes a new mbuf. This fixes WEP.
Notes
Notes:
svn path=/head/; revision=121058
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ath/if_ath.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 10a1b6d9c822..1369f933de54 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -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. |