madwifi: improve autochannel decision with lots of cards on one board
authorFelix Fietkau <nbd@openwrt.org>
Thu, 7 May 2009 21:10:33 +0000 (21:10 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 7 May 2009 21:10:33 +0000 (21:10 +0000)
SVN-Revision: 15704

package/madwifi/patches/411-autochannel_multi.patch

index 827ab5800a320742660ba639a0c5d9185c56f185..6b970ca69799db5c98e1e29478157c6475acbac5 100644 (file)
@@ -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);
 +