Prechádzať zdrojové kódy

qcacld-3.0: Do not release start wakelock in vdev down

Legacy code releases vdev start wakelock after vdev down
command sent to firmware to overcome race condition. Target_if
common code takes care for wakelocks.

Hence, do not release start wakelock in legacy code.

Change-Id: I550ffb17e2e29f3b0bad618dc9ef9463a94800aa
CRs-Fixed: 2512151
Abhishek Ambure 5 rokov pred
rodič
commit
d75086a6f0
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  1. 0 1
      core/wma/src/wma_utils.c

+ 0 - 1
core/wma/src/wma_utils.c

@@ -3750,7 +3750,6 @@ QDF_STATUS wma_send_vdev_down_to_fw(t_wma_handle *wma, uint8_t vdev_id)
 
 	status = vdev_mgr_down_send(vdev_mlme);
 	qdf_runtime_pm_allow_suspend(&iface->vdev_start_runtime_wakelock);
-	wma_release_wakelock(&iface->vdev_start_wakelock);
 
 	return status;
 }