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

net: wifi: Fix the nm type check error #75982

Merged
merged 1 commit into from
Jul 27, 2024

Conversation

MaochenWang1
Copy link
Collaborator

Fix the NM iface type check error, should use (1 << WIFI_TYPE_STA),
instead of WIFI_TYPE_STA. Same for WIFI_TYPE_SAP.

Fix the NM iface type check error, should use (1 << WIFI_TYPE_STA),
instead of WIFI_TYPE_STA. Same for WIFI_TYPE_SAP.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
@MaochenWang1 MaochenWang1 changed the title subsys: net: wifi: Fix the nm type check error net: wifi: Fix the nm type check error Jul 17, 2024
Copy link
Member

@jukkar jukkar left a comment

Choose a reason for hiding this comment

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

I think we should convert all the recently introduced (1 << xyz) statements in wifi to BIT(xyz) in a following PR as using BIT macro is much more readable. I would not mind if someone sends a PR for that.

@jukkar jukkar added the backport v3.7-branch Request backport to the v3.7-branch label Jul 17, 2024
@nashif nashif merged commit bf42164 into zephyrproject-rtos:main Jul 27, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking area: Wi-Fi Wi-Fi backport v3.7-branch Request backport to the v3.7-branch
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants