From d0c726b4b9b506cb67995407bdfbf32d82175632 Mon Sep 17 00:00:00 2001 From: Visweswara Tanuku Date: Mon, 9 Apr 2018 18:14:08 +0530 Subject: [PATCH] qcacld-3.0: Block SoftAP channel switch in response to ECSA frame qcacld-2.0 to qcacld-3.0 propagation SoftAP is changing channel in response to ECSA frame from STA Do not let SoftAP switch channel in response to ECSA. Change-Id: Ie9ddbf10c13f62205fdd60c512a560b35c6610ba CRs-Fixed: 2121117 --- core/mac/src/pe/lim/lim_process_action_frame.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/mac/src/pe/lim/lim_process_action_frame.c b/core/mac/src/pe/lim/lim_process_action_frame.c index 9245292074..be54bd9050 100644 --- a/core/mac/src/pe/lim/lim_process_action_frame.c +++ b/core/mac/src/pe/lim/lim_process_action_frame.c @@ -400,7 +400,8 @@ lim_process_ext_channel_switch_action_frame(tpAniSirGlobal mac_ctx, return; } - if (eLIM_AP_ROLE == session_entry->limSystemRole) { + if ((eLIM_STA_ROLE == session_entry->limSystemRole) || + (eLIM_P2P_DEVICE_CLIENT == session_entry->limSystemRole)) { struct sir_sme_ext_cng_chan_ind *ext_cng_chan_ind; struct scheduler_msg mmh_msg = {0};