From fade9b7887b88deeff66398230baa6fbffe7ee43 Mon Sep 17 00:00:00 2001 From: Sandeep Puligilla Date: Mon, 1 Feb 2016 12:41:54 -0800 Subject: [PATCH] qcacld3.0: Remove condition to start BSS in HT20 SAP is always coming up in HT20 on 2.4Ghz band even though hostapd configures HT40 mode. Remove condition to start BSS only in HT20 for 2.4Ghz channels. Change-Id: I1e4712ee49bbb079c81a2193e2130d2c846c865f CRs-Fixed: 970396 --- core/mac/src/pe/lim/lim_process_sme_req_messages.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/core/mac/src/pe/lim/lim_process_sme_req_messages.c b/core/mac/src/pe/lim/lim_process_sme_req_messages.c index 7b8149fd17d9..d9291d2d3e3a 100644 --- a/core/mac/src/pe/lim/lim_process_sme_req_messages.c +++ b/core/mac/src/pe/lim/lim_process_sme_req_messages.c @@ -822,16 +822,10 @@ __lim_handle_sme_start_bss_request(tpAniSirGlobal mac_ctx, uint32_t *msg_buf) FL("cbMode %u"), sme_start_bss_req->cbMode); if (session->vhtCapability || session->htCapability) { chanwidth = sme_start_bss_req->vht_channel_width; - lim_log(mac_ctx, LOG1, FL("vht_channel_width %u"), - sme_start_bss_req->vht_channel_width); - if (channel_number <= RF_CHAN_14 && - chanwidth != eHT_CHANNEL_WIDTH_20MHZ) { - chanwidth = CH_WIDTH_20MHZ; - session->htSupportedChannelWidthSet = 0; - lim_log(mac_ctx, LOG1, - FL("Set chanwidth to 20Mhz, chan %d"), - channel_number); - } + lim_log(mac_ctx, LOG1, + FL("vht_channel_width %u htSupportedChannelWidthSet %d"), + sme_start_bss_req->vht_channel_width, + session->htSupportedChannelWidthSet); session->ch_width = chanwidth; if (session->htSupportedChannelWidthSet) { session->ch_center_freq_seg0 =