summaryrefslogtreecommitdiff
path: root/package/madwifi
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
parenta8a91697ce4c8f9d1e701b52356f69702741d5cd (diff)
downloadmtk-20170518-d88bd31f996051d0eee05b7467140e6cd95dcbe6.zip
mtk-20170518-d88bd31f996051d0eee05b7467140e6cd95dcbe6.tar.gz
mtk-20170518-d88bd31f996051d0eee05b7467140e6cd95dcbe6.tar.bz2
madwifi: improve autochannel decision with lots of cards on one board
SVN-Revision: 15704
Diffstat (limited to 'package/madwifi')
-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 827ab58..6b970ca 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);
+