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

platform: Wrap the WIFI_DRIVER_STATE_ON and WIFI_DRIVER_STATE_OFF val… #52

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

ShujathMohd
Copy link
Contributor

…ues in quotations

Fixes the below compilation error on android 14 : frameworks/opt/net/wifi/libwifi_hal/wifi_hal_common.cpp:194:7: error: no matching function for call to 'wifi_change_driver_state' if (wifi_change_driver_state(WIFI_DRIVER_STATE_ON) < 0) {

…ues in quotations

Fixes the below compilation error on android 14 : frameworks/opt/net/wifi/libwifi_hal/wifi_hal_common.cpp:194:7: error: no matching function for call to 'wifi_change_driver_state'
if (wifi_change_driver_state(WIFI_DRIVER_STATE_ON) < 0) {
@MarijnS95
Copy link
Contributor

MarijnS95 commented Oct 26, 2023

Is this just bad forwarding of the parameters to the build system? Or is there an upstream change (that we should cherry-pick) that does the same?

@jerpelea
Copy link
Collaborator

@ShujathMohd the same change is needed on all platforms (lena, murray, nagara, sagami, seine, yodo, zambezi)

@MarijnS95
Copy link
Contributor

I wonder if we should backport this, perhaps we were always passing const char *state = 0/1; as pointer value instead of string 😂

@jerpelea jerpelea merged commit b59ba55 into sonyxperiadev:u-mr1 Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants