소스 검색

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);
 }