hostapd_ctrl_iface_set_bw() is called only if CONFIG_TESTING_OPTIONS is
defined. Move it to be under matching build configuration conditions.
Fixes: 261fab94c180 ("AP: Support bandwidth changes without CSA through control interface")
Signed-off-by: Jouni Malinen <jouni.malinen@oss.qualcomm.com>
}
+#ifdef CONFIG_TESTING_OPTIONS
static int hostapd_ctrl_iface_set_bw(struct hostapd_iface *iface, char *pos)
{
#ifdef NEED_AP_MLME
return -1;
#endif /* NEED_AP_MLME */
}
+#endif /* CONFIG_TESTING_OPTIONS */
static int hostapd_ctrl_iface_mib(struct hostapd_data *hapd, char *reply,