Skip to content
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

drivers: wifi: nxp: raise connect result event when failed #83341

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

Conversation

toonst
Copy link
Contributor

@toonst toonst commented Dec 23, 2024

In case connection fails, the driver should raise a connect result event to notify the user.

In case connection fails, the driver should raise a connect result event
to notify the user.

Signed-off-by: Toon Stegen <[email protected]>
break;
case WLAN_REASON_NETWORK_NOT_FOUND:
net_eth_carrier_off(g_mlan.netif);
LOG_WRN("WLAN: nxp_wlan_network not found");
wifi_mgmt_raise_connect_result_event(g_mlan.netif, -1);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use status codes

enum wifi_conn_status {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Wi-Fi Wi-Fi platform: NXP Drivers NXP Semiconductors, drivers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants