-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
hostapd: add ap status in l2 wifi #79159
hostapd: add ap status in l2 wifi #79159
Conversation
1cf03ab
to
823c203
Compare
cb14733
to
190ad3d
Compare
modules/hostap/src/supp_api.c
Outdated
struct hostapd_iface *iface = NULL; | ||
struct hostapd_config *conf = NULL; | ||
struct hostapd_data *hapd = NULL; | ||
struct hostapd_bss_config *bss = NULL; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to set these to null because you are setting values for the variables below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modified
modules/hostap/src/supp_api.c
Outdated
int proto; | ||
int key_mgmt; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please introduce variables at the start of the function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modified
modules/hostap/src/supp_api.c
Outdated
int key_mgmt; | ||
|
||
status->state = iface->state; | ||
struct hostapd_ssid *ssid = &bss->ssid; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same for this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modified
4ee9b2f
to
bf7f9e0
Compare
add ap status in l2 wifi Signed-off-by: Gaofeng Zhang <[email protected]>
bf7f9e0
to
6a35dac
Compare
add ap status in l2 wifi