qcacmn: release spinlock in the exit path
spinlock is not released in one of the exit paths of target_if_start_spectral_scan function. Fix it by releasing the spinlock before return. CRs-Fixed: 2699762 Change-Id: I012c4151b3968ffbedb68eba64b30bc4c08cf44f
Esse commit está contido em:
@@ -4200,6 +4200,7 @@ target_if_start_spectral_scan(struct wlan_objmgr_pdev *pdev,
|
||||
(spectral, ch_width, spectral->params
|
||||
[SPECTRAL_SCAN_MODE_AGILE].ss_frequency.cfreq2 > 0);
|
||||
if (QDF_IS_STATUS_ERROR(status)) {
|
||||
qdf_spin_unlock(&spectral->spectral_lock);
|
||||
spectral_err("Failed to populate channel width");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
Referência em uma nova issue
Block a user