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

[nrf noup] zephyr: Don't use heap for WPA cli #153

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

krish2718
Copy link
Collaborator

Relying on heap during OOM is bad, esp. for critical module like WPA supplicant, this can break the Wi-Fi.

As the WPA supplicant stack is large enough and this buffer is free immediately after use, just use the stack.

Fixes SHEL-2283.

Relying on heap during OOM is bad, esp. for critical module like WPA
supplicant, this can break the Wi-Fi.

As the WPA supplicant stack is large enough and this buffer is free
immediately after use, just use the stack.

Fixes SHEL-2283.

Signed-off-by: Chaitanya Tata <[email protected]>
@krish2718 krish2718 merged commit 3f3b7c4 into nrfconnect:main Feb 9, 2024
1 check passed
@krish2718 krish2718 deleted the use_stack_wpa_cli branch February 9, 2024 06:39
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.

3 participants