mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
netdev: fix setting a uint8_t with l_get_le16
This commit is contained in:
parent
6415420f1c
commit
085a2511f6
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user