1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-10 13:22:48 +02:00

update madwifi, see #385, 105-radiotap_endian_fix.patch is integrated upstream

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3528 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
wbx 2006-03-28 18:32:24 +00:00
parent 22a1832e50
commit b10a5d4260
2 changed files with 2 additions and 23 deletions

View File

@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk
include ../../rules.mk
PKG_NAME:=madwifi-ng
PKG_VERSION:=r1456-20060225
PKG_VERSION:=r1475-20060317
PKG_RELEASE:=1
PKG_MD5SUM:=27ccc5ba2e463fd8bee6da74d717731d
PKG_MD5SUM:=b25d4b4d790e890564109348b1ff9005
PKG_SOURCE_URL:=http://snapshots.madwifi.org/$(PKG_NAME)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz

View File

@ -1,21 +0,0 @@
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 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 = 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;
@@ -315,7 +315,7 @@
sizeof(struct ath_rx_radiotap_header));
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 = 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;