diff options
| author | krunal soni <ksoni@qca.qualcomm.com> | 2014-01-23 14:44:16 -0800 |
|---|---|---|
| committer | Prakash Dhavali <pdhavali@qca.qualcomm.com> | 2014-01-28 00:00:42 -0800 |
| commit | 6e92897b1c811c3b0cede4af72bc934d97049ada (patch) | |
| tree | 7473a70caef6b7aba663ee531cbd7e462767c058 | |
| parent | 00e580ea4fceec28f8a0096ea09ef1c3bcb821fe (diff) | |
wlan: Fix for Statis analysis errors in SAP module
It will fix all critical errors reported in SAP
module by statis analysis tool.
Change-Id: I46a01e07af1bd3a89d6b7609460f1b470d3f5556
CRs-Fixed: 606616
| -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 37c60864c2fc..23aa6e03bd89 100644 --- a/CORE/SAP/src/sapChSelect.c +++ b/CORE/SAP/src/sapChSelect.c @@ -1468,7 +1468,7 @@ void sapComputeSpectWeight( tSapChSelSpectInfo* pSpectInfoParams, else channel_id = pScanResult->BssDescriptor.channelId; - if (channel_id == pSpectCh->chNum) { + if (pSpectCh && (channel_id == pSpectCh->chNum)) { if (pSpectCh->rssiAgr < pScanResult->BssDescriptor.rssi) pSpectCh->rssiAgr = pScanResult->BssDescriptor.rssi; |
