summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/package/madwifi
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-21 21:33:12 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-21 21:33:12 +0000
commit6dcf547ef16cd856e64b8fdc99fb207924db351a (patch)
treee88f0d4f710879d11c7b62fda5a8200c29c3b580 /openwrt/target/linux/package/madwifi
parentb7a32d88d7439c02b7e4cf6782f50b4f576220a6 (diff)
correction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3261 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/package/madwifi')
-rw-r--r--openwrt/target/linux/package/madwifi/patches/105-radiotap_endian_fix.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/target/linux/package/madwifi/patches/105-radiotap_endian_fix.patch b/openwrt/target/linux/package/madwifi/patches/105-radiotap_endian_fix.patch
index ad3fca9f29..0f4f749a10 100644
--- a/openwrt/target/linux/package/madwifi/patches/105-radiotap_endian_fix.patch
+++ b/openwrt/target/linux/package/madwifi/patches/105-radiotap_endian_fix.patch
@@ -1,12 +1,12 @@
-diff -ruN madwifi-ng-r1451-20060212/net80211/ieee80211_monitor.c madwifi-ng-r1451-20060212-patch/net80211/ieee80211_monitor.c
+diff -Nur madwifi-ng-r1451-20060212/net80211/ieee80211_monitor.c madwifi-ng-r1451-20060212-patch/net80211/ieee80211_monitor.c
--- madwifi-ng-r1451-20060212/net80211/ieee80211_monitor.c 2006-02-01 15:07:11.000000000 -0500
-+++ madwifi-ng-r1451-20060212-patch/net80211/ieee80211_monitor.c 2006-02-21 02:42:30.000000000 -0500
++++ madwifi-ng-r1451-20060212-patch/net80211/ieee80211_monitor.c 2006-02-21 22:17:35.000000000 -0500
@@ -296,7 +296,7 @@
sizeof(struct ath_tx_radiotap_header));
memset(th, 0, sizeof(struct ath_tx_radiotap_header));
th->wt_ihdr.it_version = 0;
- th->wt_ihdr.it_len = sizeof(struct ath_tx_radiotap_header);
-+ th->wt_ihdr.it_len = __constant_cpu_to_le16(sizeof(struct ath_tx_radiotap_header));
++ th->wt_ihdr.it_len = cpu_to_le16(sizeof(struct ath_tx_radiotap_header));
th->wt_ihdr.it_present = ATH_TX_RADIOTAP_PRESENT;
th->wt_flags = 0;
th->wt_rate = rate;
@@ -15,7 +15,7 @@ diff -ruN madwifi-ng-r1451-20060212/net80211/ieee80211_monitor.c madwifi-ng-r145
memset(th, 0, sizeof(struct ath_rx_radiotap_header));
th->wr_ihdr.it_version = 0;
- th->wr_ihdr.it_len = sizeof(struct ath_rx_radiotap_header);
-+ th->wr_ihdr.it_len = __constant_cpu_to_le16(sizeof(struct ath_tx_radiotap_header));
++ th->wr_ihdr.it_len = cpu_to_le16(sizeof(struct ath_rx_radiotap_header));
th->wr_ihdr.it_present = ATH_RX_RADIOTAP_PRESENT;
th->wr_flags = 0;
th->wr_rate = rate;