3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-21 22:09:23 +01:00

netdev: make unprotected disconnect debug log more clear

The debug log was just saying "disconnect event" but we should
distinguish between unprotected and protected events.
This commit is contained in:
James Prestwood 2024-01-30 11:13:51 -08:00 committed by Denis Kenzior
parent 085a2511f6
commit 643503eeea

View File

@ -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);