Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

[nrf noup] zephyr: Fix reason code for locally generated disconnection #159

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

krish2718
Copy link
Collaborator

In case a use issues a disconnect for some reason, it will still send IEEE 802.11 reason code 3, which will show up as a Failure (non-zero status) in Zephyr, this should only be applicable if AP sends de-authentication with reason code as "3".

Fix locally generated case to return success (the enum should also be renamed from "unspecified" to "local", but that will be handled in another PR).

Fixes SHEL-2561.

fixup! [nrf noup] zephyr: Implement connect and disconnect events to Zephyr

In case a use issues a disconnect for some reason, it will still send
IEEE 802.11 reason code 3, which will show up as a Failure (non-zero
status) in Zephyr, this should only be applicable if AP sends
de-authentication with reason code as "3".

Fix locally generated case to return success (the enum should also be
renamed from "unspecified" to "local", but that will be handled in
another PR).

Fixes SHEL-2561.

Signed-off-by: Chaitanya Tata <[email protected]>
@krish2718 krish2718 merged commit dda5457 into nrfconnect:main Mar 5, 2024
1 check passed
@krish2718 krish2718 deleted the fix_false_disc_fail branch March 5, 2024 13:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants