summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrishna Kumaar Natarajan <kknatara@qca.qualcomm.com>2014-04-28 16:45:54 -0700
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-04-29 23:02:36 -0700
commit5bb990804acafc4a1cca8ce454bb26aaa0731ffa (patch)
tree9be1c1d8ecf8a1ac75373b2a5691dfe36e5136f0
parentabfca83d3960b75e1fe4b0b875d37002d84568f7 (diff)
wlan:qcacld: Fix sending PLM report on 5G Channels
When AP sends PLM request for 5G channels, Host neglects those channels and send out PLM request to FW with zero channels. Due to this STA(FW) send out PLM report with refuse bit set. This is fixed by putting DFS channel validation within correct if-structure. Change-Id: Idb748b4d61ed3bbaa7e8d8c7a542192e4e918734 CRs-Fixed: 651085
-rw-r--r--CORE/SME/src/sme_common/sme_Api.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/CORE/SME/src/sme_common/sme_Api.c b/CORE/SME/src/sme_common/sme_Api.c
index e7655aaa3c4c..45adeae5165d 100644
--- a/CORE/SME/src/sme_common/sme_Api.c
+++ b/CORE/SME/src/sme_common/sme_Api.c
@@ -1468,13 +1468,15 @@ eHalStatus sme_SetPlmRequest(tHalHandle hHal, tpSirPlmReq pPlmReq)
{
if (NV_CHANNEL_DFS ==
vos_nv_getChannelEnabledState(pPlmReq->plmChList[count]))
- /* DFS channel is provided, no PLM bursts can be
- * transmitted. Ignoring these channels.
- */
- VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO,
- "%s DFS channel %d ignored for PLM", __func__,
- pPlmReq->plmChList[count]);
- continue;
+ {
+ /* DFS channel is provided, no PLM bursts can be
+ * transmitted. Ignoring these channels.
+ */
+ VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO,
+ "%s DFS channel %d ignored for PLM", __func__,
+ pPlmReq->plmChList[count]);
+ continue;
+ }
}
else if (!ret)
{