mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Remove unnecessary nested ifdef CONFIG_AP
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
13adc57b39
commit
fd9f170098
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user