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:
Jouni Malinen 2018-02-03 12:08:09 +02:00
parent 5ff39c1380
commit 66b9f3ca8a

View File

@ -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",