commit 085a2511f6c8340941b633c103d2d42822830ba2
parent 6415420f1c92012f64063c131480ffcef58e60ca
Author: James Prestwood <prestwoj@gmail.com>
Date: Tue, 30 Jan 2024 11:13:50 -0800
netdev: fix setting a uint8_t with l_get_le16
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/netdev.c b/src/netdev.c
@@ -4734,7 +4734,7 @@ static void netdev_unprot_disconnect_event(struct l_genl_msg *msg,
uint16_t type;
uint16_t len;
const void *data;
- uint8_t reason_code;
+ uint16_t reason_code;
if (!netdev->connected)
return;