reorder the madwifi modules to get rid of the annoying console messages on boot
[openwrt.git] / openwrt / target / linux / package / madwifi / patches / 105-radiotap_endian_fix.patch
1 diff -Nur madwifi-ng-r1451-20060212/net80211/ieee80211_monitor.c madwifi-ng-r1451-20060212-patch/net80211/ieee80211_monitor.c
2 --- madwifi-ng-r1451-20060212/net80211/ieee80211_monitor.c 2006-02-01 15:07:11.000000000 -0500
3 +++ madwifi-ng-r1451-20060212-patch/net80211/ieee80211_monitor.c 2006-02-21 22:17:35.000000000 -0500
4 @@ -296,7 +296,7 @@
5 sizeof(struct ath_tx_radiotap_header));
6 memset(th, 0, sizeof(struct ath_tx_radiotap_header));
7 th->wt_ihdr.it_version = 0;
8 - th->wt_ihdr.it_len = sizeof(struct ath_tx_radiotap_header);
9 + th->wt_ihdr.it_len = cpu_to_le16(sizeof(struct ath_tx_radiotap_header));
10 th->wt_ihdr.it_present = ATH_TX_RADIOTAP_PRESENT;
11 th->wt_flags = 0;
12 th->wt_rate = rate;
13 @@ -315,7 +315,7 @@
14 sizeof(struct ath_rx_radiotap_header));
15 memset(th, 0, sizeof(struct ath_rx_radiotap_header));
16 th->wr_ihdr.it_version = 0;
17 - th->wr_ihdr.it_len = sizeof(struct ath_rx_radiotap_header);
18 + th->wr_ihdr.it_len = cpu_to_le16(sizeof(struct ath_rx_radiotap_header));
19 th->wr_ihdr.it_present = ATH_RX_RADIOTAP_PRESENT;
20 th->wr_flags = 0;
21 th->wr_rate = rate;
This page took 0.042941 seconds and 5 git commands to generate.