diff options
| author | Brandon Enochs <enochs@itd.nrl.navy.mil> | 2005-07-30 15:50:04 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-30 18:17:23 -0400 |
| commit | 3e1d393240880e3d7ae580c46f1ba265643fcd15 (patch) | |
| tree | 2e720a490a9cb47d3c1a9b929955e0fdba1889f5 | |
| parent | 0c629a69fd8ec7b67566cfc052a9b1c4b927805a (diff) | |
[PATCH] hostap update
line 129 of hostap_80211_rx.c should read:
LWNG_SETVAL(mactime, 2, 0, 4, rx_stats->mac_time);
not:
LWNG_SETVAL(mactime, 2, 0, 0, rx_stats->mac_time);
The length field is incorrect.
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| -rw-r--r-- | drivers/net/wireless/hostap/hostap_80211_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap_80211_rx.c b/drivers/net/wireless/hostap/hostap_80211_rx.c index 917296c4fcbd..026d47d9c521 100644 --- a/drivers/net/wireless/hostap/hostap_80211_rx.c +++ b/drivers/net/wireless/hostap/hostap_80211_rx.c | |||
| @@ -123,7 +123,7 @@ int prism2_rx_80211(struct net_device *dev, struct sk_buff *skb, | |||
| 123 | hdr->f.did = LWNG_CAP_DID_BASE | (i << 12); \ | 123 | hdr->f.did = LWNG_CAP_DID_BASE | (i << 12); \ |
| 124 | hdr->f.status = s; hdr->f.len = l; hdr->f.data = d | 124 | hdr->f.status = s; hdr->f.len = l; hdr->f.data = d |
| 125 | LWNG_SETVAL(hosttime, 1, 0, 4, jiffies); | 125 | LWNG_SETVAL(hosttime, 1, 0, 4, jiffies); |
| 126 | LWNG_SETVAL(mactime, 2, 0, 0, rx_stats->mac_time); | 126 | LWNG_SETVAL(mactime, 2, 0, 4, rx_stats->mac_time); |
| 127 | LWNG_SETVAL(channel, 3, 1 /* no value */, 4, 0); | 127 | LWNG_SETVAL(channel, 3, 1 /* no value */, 4, 0); |
| 128 | LWNG_SETVAL(rssi, 4, 1 /* no value */, 4, 0); | 128 | LWNG_SETVAL(rssi, 4, 1 /* no value */, 4, 0); |
| 129 | LWNG_SETVAL(sq, 5, 1 /* no value */, 4, 0); | 129 | LWNG_SETVAL(sq, 5, 1 /* no value */, 4, 0); |
