3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

ft: Fix endianness issues

The use of mmpdu_association_response members marked as __le requires
the relevant endianness conversion.
This commit is contained in:
Denis Kenzior 2019-05-23 16:55:54 -05:00
parent 360ec1488d
commit 865492df8c

View File

@ -232,7 +232,7 @@ static bool ft_parse_associate_resp_frame(const uint8_t *frame, size_t frame_len
}
}
*out_status = body->status_code;
*out_status = L_LE16_TO_CPU(body->status_code);
return true;
}