Browse Source

qcacld-3.0: Fix pre cac vdev leak issue

Before stop pre cac adapter, need call wlan_hdd_stop_sap to stop sap vdev
first.

Change-Id: I108a42932f2631d901e72569f2878d08026b3ea4
CRs-Fixed: 3441589
Jianmin Zhu 2 years ago
parent
commit
deeb03e291
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/hdd/src/wlan_hdd_pre_cac.c

+ 1 - 0
core/hdd/src/wlan_hdd_pre_cac.c

@@ -43,6 +43,7 @@ static void wlan_hdd_pre_cac_failure(struct hdd_adapter *adapter)
 	if (wlan_hdd_validate_context(hdd_ctx))
 		return;
 
+	wlan_hdd_stop_sap(adapter);
 	hdd_stop_adapter(hdd_ctx, adapter);
 
 	hdd_exit();