diff options
| author | Arunk Khandavalli <akhandav@codeaurora.org> | 2016-11-22 21:20:43 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-11-29 16:07:38 -0800 |
| commit | 42b1c03be992261c50b3cfd1589c8cbdd5fd8c31 (patch) | |
| tree | 1ccff3fa30d70a53f4e02285432f20739535a5a6 | |
| parent | 609463e1480b0710180cb094d81edfec460894d3 (diff) | |
qcacld-3.0: Do not invoke pld_power_off during the module exit
Platform driver takes care of power off sequence during the module
exit.
Do not invoke the pld_power_off during the unload sequence.
Change-Id: Ib6d2e192849076acb60e0e6ebbbb9e5ed5938c2b
CRs-Fixed: 1093190
| -rw-r--r-- | core/hdd/src/wlan_hdd_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index fe7834855895..1fce6c32f067 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -7901,7 +7901,7 @@ int hdd_wlan_stop_modules(hdd_context_t *hdd_ctx) ol_cds_free(); - if (!cds_is_driver_recovering()) { + if (!cds_is_driver_recovering() && !cds_is_driver_unloading()) { ret = pld_power_off(qdf_ctx->dev); if (ret) hdd_err("CNSS power down failed put device into Low power mode:%d", |
