From fd9f1700986325e97be7615310c46c64a88a2801 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 21 Jul 2013 16:01:29 +0300 Subject: [PATCH] Remove unnecessary nested ifdef CONFIG_AP Signed-hostap: Jouni Malinen --- wpa_supplicant/events.c | 2 -- 1 file changed, 2 deletions(-) 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)