logo       
Google Custom Search
    AddThis Social Bookmark Button

revision 3048 committed: msg#00052

Subject: revision 3048 committed
Project     : madwifi
Revision    : 3048
Author      : proski (Pavel Roskin)
Date        : 2007-12-13 04:42:40 +0100 (Thu, 13 Dec 2007)

Log Message :
Fix endianess issue with tx flags in radiotap header

Reference: r2241

Affected Files:
* madwifi/releases/0.9.4/net80211/ieee80211_monitor.c  updated             


Modified: madwifi/releases/0.9.4/net80211/ieee80211_monitor.c
===================================================================
--- madwifi/releases/0.9.4/net80211/ieee80211_monitor.c 2007-12-13 03:30:48 UTC 
(rev 3047)
+++ madwifi/releases/0.9.4/net80211/ieee80211_monitor.c 2007-12-13 03:42:40 UTC 
(rev 3048)
@@ -469,7 +469,7 @@
                                th->wt_pad = 0;
 
                                if (ds->ds_txstat.ts_status & HAL_TXERR_XRETRY)
-                                       th->wt_txflags |= 
IEEE80211_RADIOTAP_F_TX_FAIL;
+                                       th->wt_txflags |= 
cpu_to_le16(IEEE80211_RADIOTAP_F_TX_FAIL);
                                
                                th->wt_dataretries = 
ds->ds_txstat.ts_shortretry + ds->ds_txstat.ts_longretry;
                                

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>