commit | 8e24513cfbde7acae262533ad5cb36ba68def105 | [log] [tgz] |
---|---|---|
author | Rajeev Kumar <rajekuma@codeaurora.org> | Tue Jan 17 17:26:10 2017 -0800 |
committer | qcabuildsw <qcabuildsw@localhost> | Wed Jan 18 18:48:55 2017 -0800 |
tree | 04d65c5a8763134e184dacef0972ed4ed37b64a6 | |
parent | 1850426c1042101b9efffc823bc0099b87dfa9bc [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
diff --git a/core/hdd/src/wlan_hdd_driver_ops.c b/core/hdd/src/wlan_hdd_driver_ops.c index bd409af..b4ed455 100644 --- a/core/hdd/src/wlan_hdd_driver_ops.c +++ b/core/hdd/src/wlan_hdd_driver_ops.c
@@ -437,11 +437,6 @@ { 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;