2 * ACS - Automatic Channel Selection module
3 * Copyright (c) 2011, Atheros Communications
4 * Copyright (c) 2013, Qualcomm Atheros, Inc.
6 * This software may be distributed under the terms of the BSD license.
7 * See README for more details.
15 enum hostapd_chan_status acs_init(struct hostapd_iface *iface);
17 #else /* CONFIG_ACS */
19 static inline enum hostapd_chan_status acs_init(struct hostapd_iface *iface)
21 wpa_printf(MSG_ERROR, "ACS was disabled on your build, rebuild hostapd with CONFIG_ACS=y or set channel");
22 return HOSTAPD_CHAN_INVALID;
25 #endif /* CONFIG_ACS */