aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/309-micfail_detect.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-16 16:30:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-16 16:30:03 +0000
commit9e7b521696118aa6f925810155c632420396ce0a (patch)
treebd7f6ab4d4da324d05a00a8f7017a3a5300e6ab6 /package/madwifi/patches/309-micfail_detect.patch
parent08351b44893b1092c3865326ff7c03506c75c3dc (diff)
downloadupstream-9e7b521696118aa6f925810155c632420396ce0a.tar.gz
upstream-9e7b521696118aa6f925810155c632420396ce0a.tar.bz2
upstream-9e7b521696118aa6f925810155c632420396ce0a.zip
add some madwifi fixes and enhancements by Sven-Ola, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11848 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/309-micfail_detect.patch')
-rw-r--r--package/madwifi/patches/309-micfail_detect.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/madwifi/patches/309-micfail_detect.patch b/package/madwifi/patches/309-micfail_detect.patch
index 91986cd624..23da333786 100644
--- a/package/madwifi/patches/309-micfail_detect.patch
+++ b/package/madwifi/patches/309-micfail_detect.patch
@@ -1,6 +1,6 @@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
-@@ -6446,6 +6446,7 @@
+@@ -6456,6 +6456,7 @@
int type;
u_int phyerr;
u_int processed = 0, early_stop = 0;
@@ -8,7 +8,7 @@
DPRINTF(sc, ATH_DEBUG_RX_PROC, "invoked\n");
process_rx_again:
-@@ -6547,24 +6548,8 @@
+@@ -6557,24 +6558,8 @@
}
if (rs->rs_status & HAL_RXERR_MIC) {
sc->sc_stats.ast_rx_badmic++;
@@ -35,7 +35,7 @@
}
/*
* Reject error frames if we have no vaps that
-@@ -6603,8 +6588,9 @@
+@@ -6613,8 +6598,9 @@
/*
* Finished monitor mode handling, now reject
* error frames before passing to other vaps
@@ -46,7 +46,7 @@
ieee80211_dev_kfree_skb(&skb);
goto rx_next;
}
-@@ -6612,6 +6598,26 @@
+@@ -6622,6 +6608,26 @@
/* remove the CRC */
skb_trim(skb, skb->len - IEEE80211_CRC_LEN);
@@ -73,7 +73,7 @@
/*
* From this point on we assume the frame is at least
* as large as ieee80211_frame_min; verify that.
-@@ -6624,6 +6630,7 @@
+@@ -6634,6 +6640,7 @@
goto rx_next;
}