qcacld-3.0: Remove roaming_in_progress in hdd_context
Remove roaming_in_progress in hdd_context and use API hdd_is_roaming_in_progress in hdd_send_roam_triggers_to_sme() Change-Id: Icb6022f26e8e3b17782d5c59f2d523635ffc151a CRs-Fixed: 2771210
这个提交包含在:
@@ -1954,7 +1954,6 @@ struct hdd_context {
|
|||||||
uint16_t wmi_max_len;
|
uint16_t wmi_max_len;
|
||||||
struct suspend_resume_stats suspend_resume_stats;
|
struct suspend_resume_stats suspend_resume_stats;
|
||||||
struct hdd_runtime_pm_context runtime_context;
|
struct hdd_runtime_pm_context runtime_context;
|
||||||
bool roaming_in_progress;
|
|
||||||
struct scan_chan_info *chan_info;
|
struct scan_chan_info *chan_info;
|
||||||
struct mutex chan_info_lock;
|
struct mutex chan_info_lock;
|
||||||
/* bit map to set/reset TDLS by different sources */
|
/* bit map to set/reset TDLS by different sources */
|
||||||
|
@@ -4691,7 +4691,7 @@ hdd_send_roam_triggers_to_sme(struct hdd_context *hdd_ctx,
|
|||||||
* de-initialize roaming structures in fw on the roaming enabled
|
* de-initialize roaming structures in fw on the roaming enabled
|
||||||
* vdev.
|
* vdev.
|
||||||
*/
|
*/
|
||||||
if (hdd_ctx->roaming_in_progress) {
|
if (hdd_is_roaming_in_progress(hdd_ctx)) {
|
||||||
hdd_err("Reject set roam trigger as roaming is in progress");
|
hdd_err("Reject set roam trigger as roaming is in progress");
|
||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
在新工单中引用
屏蔽一个用户