diff options
| author | Rajeev Kumar <rajekuma@codeaurora.org> | 2017-01-17 17:26:10 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-01-18 18:22:17 -0800 |
| commit | 61230e2dd88969c4815c1b20d2bc3ab4368d9c7e (patch) | |
| tree | 3f518fbe3ce61c324fbdfefdb5cbf5d0a3ad8aba | |
| parent | ed6d05c04457a103b98f66e29f179b78e5189f61 (diff) | |
Revert "qcacld-3.0: Add NULL check in hdd shutdown API"
Commit I979fd09fadb347585ae5a044277d3855d76f94ca introduced
invalid null pointer check for HIF handle because of which
WLAN shutdown is failing, hence revert this change.
Change-Id: Ibd5a3c23f18f316386b2fbd5cf38926bad4de5d7
CRs-Fixed: 1112571
| -rw-r--r-- | core/hdd/src/wlan_hdd_driver_ops.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/hdd/src/wlan_hdd_driver_ops.c b/core/hdd/src/wlan_hdd_driver_ops.c index f2e714d3fc9d..b50a0bb398e9 100644 --- a/core/hdd/src/wlan_hdd_driver_ops.c +++ b/core/hdd/src/wlan_hdd_driver_ops.c @@ -436,11 +436,6 @@ static void wlan_hdd_shutdown(void) { void *hif_ctx = cds_get_context(QDF_MODULE_ID_HIF); - if (NULL == hif_ctx) { - hdd_err("HIF context NULL"); - return; - } - if (cds_is_load_or_unload_in_progress()) { hdd_err("Load/unload in progress, ignore SSR shutdown"); return; |
