diff options
| author | dyoung <dyoung@NetBSD.org> | 2003-10-15 11:40:07 +0000 |
|---|---|---|
| committer | dyoung <dyoung@NetBSD.org> | 2003-10-15 11:40:07 +0000 |
| commit | e86c830f2afd1a4743958f47dc04be98db8050dc (patch) | |
| tree | 788b6fe508ac3dcac3296c7b1cfd3a55b0e1b410 /sys/dev | |
| parent | a3a898ff0fc5ce3d892d5a2b7764d612b1253edd (diff) | |
Fix WEP reception.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/ath.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c index 0510fbfea04..7b533f32157 100644 --- a/sys/dev/ic/ath.c +++ b/sys/dev/ic/ath.c @@ -39,7 +39,7 @@ __FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.14 2003/09/05 22:22:49 sam Exp $"); #endif #ifdef __NetBSD__ -__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.5 2003/10/15 03:04:03 enami Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.6 2003/10/15 11:40:07 dyoung Exp $"); #endif /* @@ -2084,6 +2084,10 @@ ath_rx_proc(void *arg, int npending) * Also trim WEP ICV from the tail. */ m_adj(m, -IEEE80211_WEP_CRCLEN); + /* + * The header has probably moved. + */ + wh = mtod(m, struct ieee80211_frame *); } /* |
