diff options
author | Amarnath Hullur Subramanyam <amarnath@codeaurora.org> | 2015-08-07 08:17:51 -0700 |
---|---|---|
committer | The Android Automerger <android-build@google.com> | 2015-08-07 12:31:59 -0700 |
commit | 66fb901c5c7df26f56348e7e1a482d7c600c0161 (patch) | |
tree | abeec2a5d3edf81e7b9ffdc575a80808aacb9e69 | |
parent | 5946d9d7ee49ff875075fa55eaa32c62841a6ed3 (diff) | |
download | android_hardware_qcom_wlan-66fb901c5c7df26f56348e7e1a482d7c600c0161.tar.gz android_hardware_qcom_wlan-66fb901c5c7df26f56348e7e1a482d7c600c0161.tar.bz2 android_hardware_qcom_wlan-66fb901c5c7df26f56348e7e1a482d7c600c0161.zip |
WiFi-HAL: Donot initialize Lowi module for gscan calls
Lowi module initialization is causing crash and this happens
as part of gscan functionality. Since, Lowi is not processing
GSCAN functionality now do not initialize Lowi module to avoid
the crash.
Bug: 23004442
Change-Id: Ibadd2f78eb2511054c671fa7434ee3d024e45fc9
-rw-r--r-- | qcwcn/wifi_hal/common.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/common.cpp b/qcwcn/wifi_hal/common.cpp index 884330d..0b4592d 100644 --- a/qcwcn/wifi_hal/common.cpp +++ b/qcwcn/wifi_hal/common.cpp @@ -391,6 +391,12 @@ lowi_cb_table_t *getLowiCallbackTable(u32 requested_lowi_capabilities) int ret = WIFI_SUCCESS; bool lowi_get_capabilities_support = false; + if (requested_lowi_capabilities == GSCAN_SUPPORTED) { + ALOGI("%s: Returning Null, GSCAN not supported by lowi", + __FUNCTION__); + return NULL; + } + ALOGI("%s: Entry", __FUNCTION__); if (LowiWifiHalApi == NULL) { ALOGI("%s: LowiWifiHalApi Null, Initialize Lowi", |