diff options
| author | Hanumanth Reddy Pothula <c_hpothu@codeaurora.org> | 2016-12-02 14:58:13 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-05 05:26:21 -0800 |
| commit | 6833ac416b75b0af32705da7f4dabece16ed9510 (patch) | |
| tree | 0ff5cd1cdaed501918eef74e0b9c2d38f03ee128 | |
| parent | 4763a69cb46154b10fb85d3467e3f0cde45f8d6b (diff) | |
qcacld-2.0: FTM: During unload, don't do LIM de-initialization
prima to qcacld-2.0 propagation.
Presently, LIM de-initialization is happening during FTM unload
though LIM is not initialized during FTM load.
In FTM mode, during driver unload don't de-initialize LIM module.
Change-Id: Icd2ce2681587f92e5d8311f2f69c79dc4127be9a
CRs-Fixed: 1094268
| -rw-r--r-- | CORE/SYS/legacy/src/system/src/macInitApi.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CORE/SYS/legacy/src/system/src/macInitApi.c b/CORE/SYS/legacy/src/system/src/macInitApi.c index 3874d7c8446f..2ad38bc32703 100644 --- a/CORE/SYS/legacy/src/system/src/macInitApi.c +++ b/CORE/SYS/legacy/src/system/src/macInitApi.c @@ -124,7 +124,11 @@ tSirRetStatus macStart(tHalHandle hHal, void* pHalMacStartParams) tSirRetStatus macStop(tHalHandle hHal, tHalStopType stopType) { tpAniSirGlobal pMac = (tpAniSirGlobal) hHal; - peStop(pMac); + + //In FTM mode, peStart is not called during driver load. + if (pMac->gDriverType != eDRIVER_TYPE_MFG) + peStop(pMac); + cfgCleanup( pMac ); // need to free memory if not called in reset context. // in reset context this memory will be freed by HDD. |
