From ded9e8c2fe902871258e30f3a072f686f555bc41 Mon Sep 17 00:00:00 2001 From: Huashan Qu Date: Wed, 23 Jun 2021 10:49:01 +0800 Subject: [PATCH] qcacld-3.0: Return success when firmware doesn't support 11k offload Return success when firmware doesn't support 11k offload, or else subsequent roaming related wmi commands have no chance to issue. Change-Id: I69d55cca63f2b7ab4787295a2825159395cf2a11 CRs-Fixed: 2976163 --- .../target_if/connection_mgr/src/target_if_cm_roam_offload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/target_if/connection_mgr/src/target_if_cm_roam_offload.c b/components/target_if/connection_mgr/src/target_if_cm_roam_offload.c index bea08a478e7b..f2f046b22c48 100644 --- a/components/target_if/connection_mgr/src/target_if_cm_roam_offload.c +++ b/components/target_if/connection_mgr/src/target_if_cm_roam_offload.c @@ -746,14 +746,14 @@ target_if_cm_roam_offload_11k_params(wmi_unified_t wmi_handle, if (!wmi_service_enabled(wmi_handle, wmi_service_11k_neighbour_report_support)) { target_if_err("FW doesn't support 11k offload"); - return QDF_STATUS_E_NOSUPPORT; + return QDF_STATUS_SUCCESS; } /* If 11k enable command and ssid length is 0, drop it */ if (req->offload_11k_bitmask && !req->neighbor_report_params.ssid.length) { target_if_debug("SSID Len 0"); - return QDF_STATUS_E_INVAL; + return QDF_STATUS_SUCCESS; } status = wmi_unified_offload_11k_cmd(wmi_handle, req);