summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/325-channel_spam.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
commit0fb8aa363f2972009439cee7351d1e2289652cdb (patch)
tree1bb03ad2ecc44f24459076e115630a010ca7c65a /package/madwifi/patches/325-channel_spam.patch
parent7ac73f836285ad39ea7831ef8c04dcf645b4a8cd (diff)
downloadmtk-20170518-0fb8aa363f2972009439cee7351d1e2289652cdb.zip
mtk-20170518-0fb8aa363f2972009439cee7351d1e2289652cdb.tar.gz
mtk-20170518-0fb8aa363f2972009439cee7351d1e2289652cdb.tar.bz2
add some madwifi fixes and enhancements by Sven-Ola, refresh patches
SVN-Revision: 11848
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 0059ba6..5c18c11 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
-@@ -9783,7 +9783,9 @@
+@@ -9795,7 +9795,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];
-@@ -9810,6 +9812,7 @@
+@@ -9822,6 +9824,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",
-@@ -9898,6 +9901,7 @@
+@@ -9910,6 +9913,7 @@
(c->privFlags & 0x0080 ?
" PF & (1 << 7)" : "")
);