diff options
| author | Hanumanth Reddy Pothula <c_hpothu@codeaurora.org> | 2016-12-29 15:56:36 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-01-07 07:26:16 -0800 |
| commit | 3b84e3206ca7e86b09eaaffdc54c0333d6c6e2c5 (patch) | |
| tree | 4e82eb08ad5ce3210802b32921907acc4f219052 | |
| parent | 1eb5edc01ff97a7ab7a460dbb1b11ed350575a9c (diff) | |
qcacld-3.0: Fix for set11Dstate ioctl
In present code, by default csr_init11d_info() function return failure status.
Due to wrong return status, ioctl (set11Dstate) get failed.
correct return status in csr_init11d_info function.
Change-Id: I40f130454d259cbc8a22f16e27c2c1a9e7c10b07
CRs-Fixed: 1105989
| -rw-r--r-- | core/sme/src/csr/csr_api_roam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c index 8d44d8d96c4d..ad00a3f3ec12 100644 --- a/core/sme/src/csr/csr_api_roam.c +++ b/core/sme/src/csr/csr_api_roam.c @@ -3157,7 +3157,7 @@ static QDF_STATUS csr_init11d_info(tpAniSirGlobal pMac, tCsr11dinfo *ps11dinfo) count++; } if (count) { - csr_save_to_channel_power2_g_5_g(pMac, + status = csr_save_to_channel_power2_g_5_g(pMac, count * sizeof(tSirMacChanInfo), pChanInfoStart); |
