aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-07 21:10:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-07 21:10:33 +0000
commit8e8cb2b259591132ef7be9e84b8c5e8daa1338cd (patch)
treee644160cd6533bb2906ffe78d6299ef539ff16a1 /package/madwifi/patches
parentd46205e3aa0b896774be921b08dd8e058fa6cf72 (diff)
downloadupstream-8e8cb2b259591132ef7be9e84b8c5e8daa1338cd.tar.gz
upstream-8e8cb2b259591132ef7be9e84b8c5e8daa1338cd.tar.bz2
upstream-8e8cb2b259591132ef7be9e84b8c5e8daa1338cd.zip
madwifi: improve autochannel decision with lots of cards on one board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15704 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/411-autochannel_multi.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/patches/411-autochannel_multi.patch b/package/madwifi/patches/411-autochannel_multi.patch
index 827ab5800a..6b970ca697 100644
--- a/package/madwifi/patches/411-autochannel_multi.patch
+++ b/package/madwifi/patches/411-autochannel_multi.patch
@@ -87,7 +87,7 @@
+ else
+ bias += get_overlap(ch->freq, c->ic_freq, ch->bw, bw);
+ }
-+ return min(bias, (u32) 100);
++ return bias;
+}
+EXPORT_SYMBOL(ieee80211_scan_get_bias);
+