Skip to content

drivers: wifi: siwx91x: Simplify scan state check #93311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ArunmaniAlagarsamy2710
Copy link
Contributor

The siwx91x driver previously restricted Wi-Fi scanning based on multiple interface states, synchronizing with previous scan results. However, the underlying SDK's sl_wifi_start_scan API is asynchronous and does not require such synchronization. This change updates the scan logic to only return -EBUSY if the interface is disabled.

The siwx91x driver previously restricted Wi-Fi scanning based on
multiple interface states, synchronizing with previous scan results.
However, the underlying SDK's `sl_wifi_start_scan` API is asynchronous
and does not require such synchronization. This change updates the
scan logic to only return `-EBUSY` if the interface is disabled.

Signed-off-by: Arunmani Alagarsamy <arunmani.a@silabs.com>
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants