diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-10-03 15:17:34 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-10-03 15:17:34 +0000 |
commit | 187b76991db178fcb6361c58636268e1614b2a9c (patch) | |
tree | 779789c568e71b4bf9d53997d2241fccc98c0bc5 /package/madwifi/patches/309-micfail_detect.patch | |
parent | cdcc68d689a5322bb3f5250122a806dcf2085b5f (diff) | |
download | mtk-20170518-187b76991db178fcb6361c58636268e1614b2a9c.zip mtk-20170518-187b76991db178fcb6361c58636268e1614b2a9c.tar.gz mtk-20170518-187b76991db178fcb6361c58636268e1614b2a9c.tar.bz2 |
madwifi patch cleanup and stability fixes - fix a semi-random heisenbug by replacing the previous noderef fix with a simple hack that is not 100% correct, but safe. - add ad-hoc atim fixes by bruno - add napi polling fixes by sven-ola - fix compile breakage with debug enabled
SVN-Revision: 12838
Diffstat (limited to 'package/madwifi/patches/309-micfail_detect.patch')
-rw-r--r-- | package/madwifi/patches/309-micfail_detect.patch | 10 |
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 e184a4e..80c1e73 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 -@@ -6459,6 +6459,7 @@ +@@ -6457,6 +6457,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: -@@ -6560,24 +6561,8 @@ +@@ -6558,24 +6559,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 -@@ -6616,8 +6601,9 @@ +@@ -6614,8 +6599,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; } -@@ -6625,6 +6611,26 @@ +@@ -6623,6 +6609,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. -@@ -6637,6 +6643,7 @@ +@@ -6635,6 +6641,7 @@ goto rx_next; } |