Remove unnecessary nested ifdef CONFIG_AP

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2013-07-21 16:01:29 +03:00
parent 13adc57b39
commit fd9f170098

View File

@ -2735,11 +2735,9 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
break; break;
} }
#ifdef CONFIG_AP
wpas_ap_ch_switch(wpa_s, data->ch_switch.freq, wpas_ap_ch_switch(wpa_s, data->ch_switch.freq,
data->ch_switch.ht_enabled, data->ch_switch.ht_enabled,
data->ch_switch.ch_offset); data->ch_switch.ch_offset);
#endif /* CONFIG_AP */
break; break;
#endif /* CONFIG_AP */ #endif /* CONFIG_AP */
#if defined(CONFIG_AP) || defined(CONFIG_IBSS_RSN) #if defined(CONFIG_AP) || defined(CONFIG_IBSS_RSN)