diff options
| author | Krishna Kumaar Natarajan <kknatara@qca.qualcomm.com> | 2015-02-20 12:32:15 -0800 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2015-02-23 15:07:35 +0530 |
| commit | 4ac0f6f4dab54caccfb31fafe02c3821ff7ca845 (patch) | |
| tree | 731a0d65345708b4b9ec653351fb913d8d6361fe | |
| parent | 9ecd373df78998f26cd98b188fe28da3e818e7f2 (diff) | |
wlan: Fix for issue reported by Static Analysis tool
This is prima to qcacld-2.0 propagation
In WLANSAP_SetChannelRange(), type of operatingBand variable is
changed to eSapOperatingBand enum type, but the enums used in
switch case are of 'eRfSubBand' enum type. Avoid this inconsistent
labelling by using proper enums.
Updated modified version of the original patch set which includes
only the required changes which were not present.
Change-Id: Iba4283fa8c8caf7d46ee6de9ac5e6f21159427c9
CRs-Fixed: 798305
| -rw-r--r-- | CORE/SAP/src/sapChSelect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/SAP/src/sapChSelect.c b/CORE/SAP/src/sapChSelect.c index c3e3f1792275..d9e9842c6ae1 100644 --- a/CORE/SAP/src/sapChSelect.c +++ b/CORE/SAP/src/sapChSelect.c @@ -2718,7 +2718,7 @@ v_U8_t sapSelectChannel(tHalHandle halHandle, ptSapContext pSapCtx, tScanResult { startChannelNum = rfChannels[RF_CHAN_36].channelNum; endChannelNum = rfChannels[RF_CHAN_165].channelNum; - operatingBand = RF_BAND_5_GHZ; + operatingBand = eSAP_RF_SUBBAND_5_ALL_GHZ; } } |
