mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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
This commit is contained in:
parent
e72f5e8690
commit
ded9e8c2fe
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue