aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-07-21 13:01:29 (GMT)
committerJouni Malinen <j@w1.fi>2013-07-21 13:01:29 (GMT)
commitfd9f1700986325e97be7615310c46c64a88a2801 (patch)
treedc76b034165a186c0fd0216df5a0b4cade0f6d65 /wpa_supplicant/events.c
parent13adc57b39091dc59372efbeb614b74310dd2e02 (diff)
downloadhostap-fd9f1700986325e97be7615310c46c64a88a2801.zip
hostap-fd9f1700986325e97be7615310c46c64a88a2801.tar.gz
hostap-fd9f1700986325e97be7615310c46c64a88a2801.tar.bz2
Remove unnecessary nested ifdef CONFIG_AP
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 5aae8cd..bd57916 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)