3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

netdev: fix setting a uint8_t with l_get_le16

This commit is contained in:
James Prestwood 2024-01-30 11:13:50 -08:00 committed by Denis Kenzior
parent 6415420f1c
commit 085a2511f6

View File

@ -4734,7 +4734,7 @@ static void netdev_unprot_disconnect_event(struct l_genl_msg *msg,
uint16_t type; uint16_t type;
uint16_t len; uint16_t len;
const void *data; const void *data;
uint8_t reason_code; uint16_t reason_code;
if (!netdev->connected) if (!netdev->connected)
return; return;