summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-10-13 03:41:32 +0000
committersam <sam@FreeBSD.org>2003-10-13 03:41:32 +0000
commit04745ccf4c58682033e85ca6acd947ebc25e8bc4 (patch)
tree2018c9ea7a3d88aab5c49f902a799e8a5a49394e /sys/dev/ath
parenta0342c83578012dde08525a3d6d30cd5fe66e897 (diff)
downloadFreeBSD-src-04745ccf4c58682033e85ca6acd947ebc25e8bc4.zip
FreeBSD-src-04745ccf4c58682033e85ca6acd947ebc25e8bc4.tar.gz
Must reset the pointer to the 802.11 header after prepending
for WEP in case the prepend addes a new mbuf. This fixes WEP.
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 10a1b6d..1369f93 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.
OpenPOWER on IntegriCloud