瀏覽代碼

qcacld-3.0: While adding virtual interface, rtnl lock taken twice

wlan-cld3.driver.lnx.1.1-dev to wlan-cld3.driver.lnx.2.0-dev propagation

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
Ashish Kumar Dhanotiya 8 年之前
父節點
當前提交
40f528ceaa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/hdd/src/wlan_hdd_p2p.c

+ 1 - 1
core/hdd/src/wlan_hdd_p2p.c

@@ -2176,7 +2176,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);
 }