qcacmn: Remove extra ticks-to-msec conversion
qdf_wait_single_event expects msecs as the timeout value. However, two references in dp, first of which is this instance, passes the value in ticks. This causes the value to be converted to msecs a second time by the function and hence an incorrect timeout value. The other instance is in the qcacld-3.0 project. Change-Id: Ic73f5b22e987589c1f0607ced6ae9e51ff3c52c2 Acked-by: Orhan K AKYILDIZ <oka@qca.qualcomm.com> CRs-fixed: 1012345
This commit is contained in:

committed by
Akash Patel

orang tua
82b8996739
melakukan
6a4c9803a3
@@ -612,7 +612,7 @@ A_STATUS htc_wait_recv_ctrl_message(HTC_TARGET *target)
|
||||
|
||||
/* Wait for BMI request/response transaction to complete */
|
||||
if (qdf_wait_single_event(&target->ctrl_response_valid,
|
||||
qdf_system_msecs_to_ticks(HTC_CONTROL_RX_TIMEOUT))) {
|
||||
HTC_CONTROL_RX_TIMEOUT)) {
|
||||
QDF_BUG(0);
|
||||
return A_ERROR;
|
||||
}
|
||||
|
Reference in New Issue
Block a user