[PATCH 2/3] netdev: make unprotected disconnect debug log more clear

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

The debug log was just saying "disconnect event" but we should
distinguish between unprotected and protected events.
---
src/netdev.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/netdev.c b/src/netdev.c
index f62a97cf..2b3925dc 100644
--- a/src/netdev.c
+++ b/src/netdev.c
@@ -4762,7 +4762,8 @@ static void netdev_unprot_disconnect_event(struct l_genl_msg *msg,

reason_code = l_get_le16(mmpdu_body(hdr));

- l_info("disconnect event, src="MAC" dest="MAC" bssid="MAC" reason=%u",
+ l_info("unprotected disconnect event, src="MAC" dest="MAC
+ " bssid="MAC" reason=%u",
MAC_STR(hdr->address_2), MAC_STR(hdr->address_1),
MAC_STR(hdr->address_3), reason_code);

--
2.34.1