From: Jouni Malinen Date: Sun, 21 Jul 2013 13:01:29 +0000 (+0300) Subject: Remove unnecessary nested ifdef CONFIG_AP X-Git-Tag: aosp-kk-from-upstream~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd9f1700986325e97be7615310c46c64a88a2801;p=thirdparty%2Fhostap.git Remove unnecessary nested ifdef CONFIG_AP Signed-hostap: Jouni Malinen --- diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index 5aae8cd7b..bd579163a 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -2735,11 +2735,9 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event, break; } -#ifdef CONFIG_AP wpas_ap_ch_switch(wpa_s, data->ch_switch.freq, data->ch_switch.ht_enabled, data->ch_switch.ch_offset); -#endif /* CONFIG_AP */ break; #endif /* CONFIG_AP */ #if defined(CONFIG_AP) || defined(CONFIG_IBSS_RSN)