From: Fumikazu Yobimoto <fyobimoto@chromium.org>
This patch fixes ACS problem.
@@ -583,6 +583,7 @@ acs_find_ideal_chan(struct hostapd_iface
continue;
}
+#if 0 /* No need to include adjacent channel */
/* 2.4 GHz has overlapping 20 MHz channels. Include adjacent
* channel interference factor. */
if (iface->current_mode->mode == HOSTAPD_MODE_IEEE80211B ||
@@ -612,6 +613,7 @@ acs_find_ideal_chan(struct hostapd_iface
factor += adj_chan->interference_factor;
}
}
+#endif
wpa_printf(MSG_DEBUG, "ACS: * channel %d: total interference = %Lg",
chan->chan, factor);