Commit dda5457
committed
[nrf noup] zephyr: Fix reason code for locally generated disconnection
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 <Chaitanya.Tata@nordicsemi.no>1 parent 1bdd1e9 commit dda5457
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3599 | 3599 | | |
3600 | 3600 | | |
3601 | 3601 | | |
3602 | | - | |
| 3602 | + | |
3603 | 3603 | | |
3604 | 3604 | | |
3605 | 3605 | | |
| |||
0 commit comments