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 827ab58..6b970ca 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);
 +