mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Fix LFR2 failure for no better AP event
LFR2 also need set roam offload flag to fw: WMI_ROAM_FW_OFFLOAD_ENABLE_FLAG of WMI_VDEV_PARAM_ROAM_FW_OFFLOAD. Change-Id: Idbb602b717f46f88426ef36a738efd456ac7af8b only sets roam offload flag to fw for LFR3. Change-Id: I0abdab998b7a7c336379ab44ca43ac2fb823eed9 CRs-Fixed: 2580519
This commit is contained in:
parent
72c436ab9a
commit
569aa029a6
1 changed files with 9 additions and 6 deletions
|
|
@ -3658,7 +3658,7 @@ static void __lim_process_roam_scan_offload_req(struct mac_context *mac_ctx,
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
||||
#if defined(WLAN_FEATURE_HOST_ROAM) || defined(WLAN_FEATURE_ROAM_OFFLOAD)
|
||||
/**
|
||||
* lim_send_roam_offload_init() - Process Roam offload flag from csr
|
||||
* @mac_ctx: Pointer to Global MAC structure
|
||||
|
|
@ -3681,7 +3681,15 @@ static void lim_send_roam_offload_init(struct mac_context *mac_ctx,
|
|||
qdf_mem_free(msg_buf);
|
||||
}
|
||||
}
|
||||
#else
|
||||
static void lim_send_roam_offload_init(struct mac_context *mac_ctx,
|
||||
uint32_t *msg_buf)
|
||||
{
|
||||
qdf_mem_free(msg_buf);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
||||
/**
|
||||
* lim_process_roam_invoke() - process the Roam Invoke req
|
||||
* @mac_ctx: Pointer to Global MAC structure
|
||||
|
|
@ -3707,11 +3715,6 @@ static void lim_process_roam_invoke(struct mac_context *mac_ctx,
|
|||
pe_err("Not able to post SIR_HAL_ROAM_INVOKE to WMA");
|
||||
}
|
||||
#else
|
||||
static void lim_send_roam_offload_init(struct mac_context *mac_ctx,
|
||||
uint32_t *msg_buf)
|
||||
{
|
||||
qdf_mem_free(msg_buf);
|
||||
}
|
||||
static void lim_process_roam_invoke(struct mac_context *mac_ctx,
|
||||
uint32_t *msg_buf)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue