tree 2e720a490a9cb47d3c1a9b929955e0fdba1889f5
parent 0c629a69fd8ec7b67566cfc052a9b1c4b927805a
author Brandon Enochs <[EMAIL PROTECTED]> Sun, 31 Jul 2005 02:50:04 -0700
committer Jeff Garzik <[EMAIL PROTECTED]> Sun, 31 Jul 2005 02:17:23 -0400

[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 <[EMAIL PROTECTED]>
Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>

 drivers/net/wireless/hostap/hostap_80211_rx.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/hostap/hostap_80211_rx.c 
b/drivers/net/wireless/hostap/hostap_80211_rx.c
--- 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 *d
 hdr->f.did = LWNG_CAP_DID_BASE | (i << 12); \
 hdr->f.status = s; hdr->f.len = l; hdr->f.data = d
                LWNG_SETVAL(hosttime, 1, 0, 4, jiffies);
-               LWNG_SETVAL(mactime, 2, 0, 0, rx_stats->mac_time);
+               LWNG_SETVAL(mactime, 2, 0, 4, rx_stats->mac_time);
                LWNG_SETVAL(channel, 3, 1 /* no value */, 4, 0);
                LWNG_SETVAL(rssi, 4, 1 /* no value */, 4, 0);
                LWNG_SETVAL(sq, 5, 1 /* no value */, 4, 0);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to