summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmarnath Hullur Subramanyam <amarnath@codeaurora.org>2015-07-15 23:12:20 +0530
committerVineeta Srivastava <vsrivastava@google.com>2015-07-22 12:53:41 -0700
commit4230204de16cec8d7cfa0c635ea4410d7eac5279 (patch)
tree2da24818e2824971a1eda8f999ad801ef703be1c
parentbaf5f0fc481def40fc815d171bc1035a905da367 (diff)
downloadandroid_hardware_qcom_wlan-4230204de16cec8d7cfa0c635ea4410d7eac5279.tar.gz
android_hardware_qcom_wlan-4230204de16cec8d7cfa0c635ea4410d7eac5279.tar.bz2
android_hardware_qcom_wlan-4230204de16cec8d7cfa0c635ea4410d7eac5279.zip
Wi-Fi HAL: Remove gscan feature dependency to get valid channels
Get valid channels is independent of gscan feature. Hence remove the dependency. Change-Id: I33d6196722a27aea19053afefadb9f670baf1a25
-rw-r--r--qcwcn/wifi_hal/gscan.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/qcwcn/wifi_hal/gscan.cpp b/qcwcn/wifi_hal/gscan.cpp
index 84c65e9..2092073 100644
--- a/qcwcn/wifi_hal/gscan.cpp
+++ b/qcwcn/wifi_hal/gscan.cpp
@@ -48,12 +48,6 @@ wifi_error wifi_get_valid_channels(wifi_interface_handle handle,
hal_info *info = getHalInfo(wifiHandle);
lowi_cb_table_t *lowiWifiHalApi = NULL;
- if (!(info->supported_feature_set & WIFI_FEATURE_GSCAN)) {
- ALOGE("%s: GSCAN is not supported by driver",
- __FUNCTION__);
- return WIFI_ERROR_NOT_SUPPORTED;
- }
-
/* Route GSCAN request through LOWI if supported */
lowiWifiHalApi = getLowiCallbackTable(GSCAN_SUPPORTED);
if (lowiWifiHalApi == NULL ||