qcacld-3.0: Replace channel ID with channel frequency
Replace channel ID(channelId) with channel frequency(
chan_freq) in struct bss_description.
Add code for chan_freq's value population in the same
struct wherever channelId's value population occures.
Remove a few camel cases detected by checkpatch.
Change-Id: I84d193b67f642df310997865ec6e1b62e3518f98
CRs-Fixed: 2488826
diff --git a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
index 453e539..ef9167f 100644
--- a/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_send_sme_rsp_messages.c
@@ -549,6 +549,10 @@
pSirSmeRsp->bssDescription.channelId =
pe_session->currentOperChannel;
+ pSirSmeRsp->bssDescription.chan_freq =
+ wlan_reg_chan_to_freq(mac->pdev,
+ pe_session->
+ currentOperChannel);
if (!LIM_IS_NDI_ROLE(pe_session)) {
curLen = pe_session->schBeaconOffsetBegin - ieOffset;