[PATCH 1/3] netdev: fix setting a uint8_t with l_get_le16

James Prestwood
2024-01-30T19:13:56Z

---
src/netdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/netdev.c b/src/netdev.c
index 522baf7a..f62a97cf 100644
--- 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;
--
2.34.1