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
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
"update_identifier", "min_dl_bandwidth_home", "min_ul_bandwidth_home",
|
||||
"min_dl_bandwidth_roaming", "min_ul_bandwidth_roaming", "max_bss_load",
|
||||
|
|
Loading…
Reference in a new issue