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

[nrf noup] zephyr: Fix handling of zero-byte receive #148

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

krish2718
Copy link
Collaborator

fixup! [nrf noup] zephyr: Add support for WPA CLI zephyr

Sometimes even if the peer didn't close the socket, we still see zero byte receive, and un-registering for those cases causes the system to be broken.

Handle the case by ignoring the current message but keeping the socket registered.

Fixes SHEL-2283.

fixup! [nrf noup] zephyr: Add support for WPA CLI zephyr

Sometimes even if the peer didn't close the socket, we still see zero
byte receive, and un-registering for those cases causes the system to
be broken.

Handle the case by ignoring the current message but keeping the socket
registered.

Fixes SHEL-2283.

Signed-off-by: Chaitanya Tata <[email protected]>
@krish2718 krish2718 requested a review from krga2022 January 23, 2024 15:47
@tejlmand tejlmand merged commit a42ccc3 into nrfconnect:main Jan 25, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants