mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -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;
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user