commit | 46bde3845d6edd433a1f686cb037a0347f8e573f | [log] [tgz] |
---|---|---|
author | Jeff Johnson <jjohnson@codeaurora.org> | Wed Feb 01 15:31:16 2017 -0800 |
committer | qcabuildsw <qcabuildsw@localhost> | Thu Feb 09 15:50:22 2017 -0800 |
tree | 5e141c086e3f2bea758f87a9fbccb3b58495ad01 | |
parent | b90ab57f0c6c3b603408b8890e018cc540c4f36d [diff] |
qcacld-3.0: Fix rtnl_lock usage in HDD startup failure path Currently in the error-handling path of hdd_wlan_startup() there are two issues with respect to the rtnl_lock: 1) hdd_close_all_adapters() may be called with the rtnl_lock parameter set to false even though the rtnl_lock is being held. 2) the function could possibly take the rtnl_lock and never release it. Fix these issues in hdd_wlan_startup(). Change-Id: Iaa69d540dd7663355ceb66f6bc8ba0e5dd8c228e CRs-Fixed: 2001611