WPS: Fix wps_validate_credential() argument type
Newer gcc complained about the mismatching len[] argument type. Silence that by using the correct type. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
e422a819d0
commit
5759bd36aa
1 changed files with 1 additions and 1 deletions
|
@ -1057,7 +1057,7 @@ static int wps_validate_cred(const u8 *cred, size_t len)
|
|||
}
|
||||
|
||||
|
||||
static int wps_validate_credential(const u8 *cred[], size_t len[], size_t num,
|
||||
static int wps_validate_credential(const u8 *cred[], u16 len[], size_t num,
|
||||
int mandatory)
|
||||
{
|
||||
size_t i;
|
||||
|
|
Loading…
Reference in a new issue