Message ID | 20231114171455.1108856-3-denkenz@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [01/11] netdev: Fix obtaining reason code from deauth frames | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
prestwoj/iwd-ci-gitlint | success | GitLint |
diff --git a/src/netdev.c b/src/netdev.c index 72876f3a39a1..ebb93a74d8aa 100644 --- a/src/netdev.c +++ b/src/netdev.c @@ -2989,7 +2989,7 @@ error: deauth: netdev->result = NETDEV_RESULT_ASSOCIATION_FAILED; netdev->last_code = MMPDU_STATUS_CODE_UNSPECIFIED; - msg = netdev_build_cmd_deauthenticate(netdev, + msg = netdev_build_cmd_disconnect(netdev, MMPDU_REASON_CODE_UNSPECIFIED); netdev->disconnect_cmd_id = l_genl_family_send(nl80211, msg,