From 085a2511f6c8340941b633c103d2d42822830ba2 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Tue, 30 Jan 2024 11:13:50 -0800 Subject: [PATCH] netdev: fix setting a uint8_t with l_get_le16 --- 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;