summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHsiu-Chang Chen <hsiuchangchen@google.com>2022-03-18 14:02:52 +0800
committerHsiu-Chang Chen <hsiuchangchen@google.com>2022-03-18 14:02:52 +0800
commit65e80a967d40e1bee4be7a9a88da13c0e80f56f1 (patch)
tree75048644db30ed9838e6957aa20255a77c4745c7
parent33e1abf9c225ef58678b415e92993531dac41eb2 (diff)
downloadwlan-65e80a967d40e1bee4be7a9a88da13c0e80f56f1.tar.gz
QCA_WLAN_VENDOR_ATTR_CONFIG_LATENCY_LEVEL is supposed to carry u16 value in the request. Modify their type accordingly. Bug: 222044962 Test: VTS tests Change-Id: I7f5da5be31845ce214ef283279ec74d41474433b
-rw-r--r--qcwcn/wifi_hal/wificonfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qcwcn/wifi_hal/wificonfig.cpp b/qcwcn/wifi_hal/wificonfig.cpp
index c6ceb9d..7ff323c 100644
--- a/qcwcn/wifi_hal/wificonfig.cpp
+++ b/qcwcn/wifi_hal/wificonfig.cpp
@@ -534,7 +534,7 @@ wifi_error wifi_set_latency_mode(wifi_interface_handle handle,
goto cleanup;
}
- if (wifiConfigCommand->put_u32(
+ if (wifiConfigCommand->put_u16(
QCA_WLAN_VENDOR_ATTR_CONFIG_LATENCY_LEVEL,
latency_mode)) {
ALOGE("wifi_set_latency_mode: failed to put latency mode");