mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
wpa_cli: Fix cred_fields[] declaration
This was supposed to be an array of const-pointers to const-char; not something duplicating const for char and resulting in compiler warnings with more recent gcc versions. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
5ff39c1380
commit
66b9f3ca8a
@ -1538,7 +1538,7 @@ static int wpa_cli_cmd_remove_cred(struct wpa_ctrl *ctrl, int argc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static const char const *cred_fields[] = {
|
static const char * const cred_fields[] = {
|
||||||
"temporary", "priority", "sp_priority", "pcsc", "eap",
|
"temporary", "priority", "sp_priority", "pcsc", "eap",
|
||||||
"update_identifier", "min_dl_bandwidth_home", "min_ul_bandwidth_home",
|
"update_identifier", "min_dl_bandwidth_home", "min_ul_bandwidth_home",
|
||||||
"min_dl_bandwidth_roaming", "min_ul_bandwidth_roaming", "max_bss_load",
|
"min_dl_bandwidth_roaming", "min_ul_bandwidth_roaming", "max_bss_load",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user