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
这个提交包含在:
Deeksha Gupta
2020-09-16 09:49:21 +05:30
提交者 snandini
父节点 9acd1808f1
当前提交 1c88796c77
修改 2 个文件,包含 1 行新增2 行删除

查看文件

@@ -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;
} }