Skip to contentSkip to conversation

netdev: use reason code from netdev_deauthenticate_event

PATCH Applied James Prestwood 2 participants 2 messages Feb 13, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netdev: use reason code from netdev_deauthenticate_event

The reason code was not being passed to netdev_connect_failed as it should have been.

---
 src/netdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/netdev.c +1 -1
index 2b3925dc..48fb15df 100644
@@ -1375,7 +1375,7 @@ static void netdev_deauthenticate_event(struct l_genl_msg *msg,
 			MAC_STR(hdr->address_3), reason_code);
 
 	netdev_connect_failed(netdev, NETDEV_RESULT_AUTHENTICATION_FAILED,
-					MMPDU_STATUS_CODE_UNSPECIFIED);
+					reason_code);
 }
 
 static void netdev_operstate_cb(int error, uint16_t type,
Signature · 1 line
2.34.1
#1 lore raw

Hi James,

Quoted 6 lines · James Prestwood

The reason code was not being passed to netdev_connect_failed as it should have been.

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

Applied, thanks.

Regards,
-Denis