mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
netdev: fix return value check for ft_over_ds_parse_action_ies
This returns a bool but was being treated as a signed int.
This commit is contained in:
parent
2613564093
commit
8db2f442bc
@ -4194,9 +4194,8 @@ static void netdev_ft_response_frame_event(const struct mmpdu_header *hdr,
|
||||
goto ft_error;
|
||||
}
|
||||
|
||||
ret = ft_over_ds_parse_action_ies(&info->super, netdev->handshake,
|
||||
ies, ies_len);
|
||||
if (ret < 0)
|
||||
if (!ft_over_ds_parse_action_ies(&info->super, netdev->handshake,
|
||||
ies, ies_len))
|
||||
goto ft_error;
|
||||
|
||||
info->parsed = true;
|
||||
|
Loading…
Reference in New Issue
Block a user