|
@@ -4319,12 +4319,14 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
|
|
#endif
|
|
#endif
|
|
break;
|
|
break;
|
|
case EVENT_ACS_CHANNEL_SELECTED:
|
|
case EVENT_ACS_CHANNEL_SELECTED:
|
|
|
|
+#ifdef CONFIG_AP
|
|
#ifdef CONFIG_ACS
|
|
#ifdef CONFIG_ACS
|
|
if (!wpa_s->ap_iface)
|
|
if (!wpa_s->ap_iface)
|
|
break;
|
|
break;
|
|
hostapd_acs_channel_selected(wpa_s->ap_iface->bss[0],
|
|
hostapd_acs_channel_selected(wpa_s->ap_iface->bss[0],
|
|
&data->acs_selected_channels);
|
|
&data->acs_selected_channels);
|
|
#endif
|
|
#endif
|
|
|
|
+#endif
|
|
break;
|
|
break;
|
|
case EVENT_P2P_LO_STOP:
|
|
case EVENT_P2P_LO_STOP:
|
|
#ifdef CONFIG_P2P
|
|
#ifdef CONFIG_P2P
|