diff options
| author | Ashish Kumar Dhanotiya <adhanoti@codeaurora.org> | 2017-03-02 15:13:10 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-03-04 06:03:57 -0800 |
| commit | 1f1359d93d885a148eb8079aaa1bd2b56c993885 (patch) | |
| tree | a3b267ac52b71f5545b0b12ce573cca31ab1f220 | |
| parent | b788ca76455425be2d19845dd2942d5dd8869423 (diff) | |
qcacld-3.0: While adding virtual interface, rtnl lock taken twice
As a part of add virtual interface API kernel takes the rtnl lock,
if start modules fails then it will take the rtnl lock again while
closing the adapter which causes the UI freeze issue.
To resolve this issue, call close adapter API with indication that
lock is already taken.
Change-Id: Ic186eba794600b189021d7455a5811972280ee84
CRs-Fixed: 2013661
| -rw-r--r-- | core/hdd/src/wlan_hdd_p2p.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_p2p.c b/core/hdd/src/wlan_hdd_p2p.c index ea14978a8922..4f48df0c3094 100644 --- a/core/hdd/src/wlan_hdd_p2p.c +++ b/core/hdd/src/wlan_hdd_p2p.c @@ -2171,7 +2171,7 @@ stop_modules: hdd_info("Other interfaces are still up dont close modules!"); close_adapter: - hdd_close_adapter(pHddCtx, pAdapter, false); + hdd_close_adapter(pHddCtx, pAdapter, true); return ERR_PTR(-EINVAL); } |
