mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
Get rid of compiler warning in no-CONFIG_CTRL_IFACE builds
no_ctrl_interface parsing was declared within ifdef CONFIG_CTRL_IFACE block, so the parser function needs to be marked similarly. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
ea61aa1de1
commit
298f51857d
@ -3082,6 +3082,7 @@ static int wpa_config_process_ap_vendor_elements(
|
||||
}
|
||||
|
||||
|
||||
#ifdef CONFIG_CTRL_IFACE
|
||||
static int wpa_config_process_no_ctrl_interface(
|
||||
const struct global_parse_data *data,
|
||||
struct wpa_config *config, int line, const char *pos)
|
||||
@ -3091,6 +3092,7 @@ static int wpa_config_process_no_ctrl_interface(
|
||||
config->ctrl_interface = NULL;
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_CTRL_IFACE */
|
||||
|
||||
|
||||
#ifdef OFFSET
|
||||
|
Loading…
Reference in New Issue
Block a user