summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/325-channel_spam.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-03 15:17:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-03 15:17:34 +0000
commit187b76991db178fcb6361c58636268e1614b2a9c (patch)
tree779789c568e71b4bf9d53997d2241fccc98c0bc5 /package/madwifi/patches/325-channel_spam.patch
parentcdcc68d689a5322bb3f5250122a806dcf2085b5f (diff)
downloadmtk-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/325-channel_spam.patch')
-rw-r--r--package/madwifi/patches/325-channel_spam.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/patches/325-channel_spam.patch b/package/madwifi/patches/325-channel_spam.patch
index 27541e1..ee06fe9 100644
--- a/package/madwifi/patches/325-channel_spam.patch
+++ b/package/madwifi/patches/325-channel_spam.patch
@@ -1,6 +1,6 @@
--- a/ath/if_ath.c
+++ b/ath/if_ath.c
-@@ -9798,7 +9798,9 @@
+@@ -9792,7 +9792,9 @@
/*
* Convert HAL channels to ieee80211 ones.
*/
@@ -10,7 +10,7 @@
for (i = 0; i < nchan; i++) {
HAL_CHANNEL *c = &chans[i];
struct ieee80211_channel *ichan = &ic->ic_channels[i];
-@@ -9825,6 +9827,7 @@
+@@ -9819,6 +9821,7 @@
ic->ic_chan_non_occupy[i].tv_sec = 0;
ic->ic_chan_non_occupy[i].tv_usec = 0;
@@ -18,7 +18,7 @@
IPRINTF(sc, "Channel %3d (%4d MHz) Max Tx Power %d dBm%s "
"[%d hw %d reg] Flags%s%s%s%s%s%s%s%s%s%s%s%s%"
"s%s%s%s%s%s%s%s%s%s%s%s\n",
-@@ -9913,6 +9916,7 @@
+@@ -9907,6 +9910,7 @@
(c->privFlags & 0x0080 ?
" PF & (1 << 7)" : "")
);