aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/411-autochannel_multi.patch
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
commitd88bd31f996051d0eee05b7467140e6cd95dcbe6 (patch)
tree67d3e25086680cab858b7d1b660c60283df5e1f4 /package/madwifi/patches/411-autochannel_multi.patch
parenta8a91697ce4c8f9d1e701b52356f69702741d5cd (diff)
downloadupstream-d88bd31f996051d0eee05b7467140e6cd95dcbe6.tar.gz
upstream-d88bd31f996051d0eee05b7467140e6cd95dcbe6.tar.bz2
upstream-d88bd31f996051d0eee05b7467140e6cd95dcbe6.zip
madwifi: improve autochannel decision with lots of cards on one board
SVN-Revision: 15704
Diffstat (limited to 'package/madwifi/patches/411-autochannel_multi.patch')
-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);
+