qcacmn: Fix for HT_C tx lock issue

Added missed condition while locking HT_C tx lock when
htc_issue_packets returns error

Change-Id: I29ce11f20d68297bd946e0925a2e59a576744e73
CRs-Fixed: 1084979
This commit is contained in:
Venkateswara Swamy Bandaru
2016-11-02 17:12:34 +05:30
committed by qcabuildsw
부모 c040943316
커밋 b3c810b062

파일 보기

@@ -1221,7 +1221,10 @@ static HTC_SEND_QUEUE_RESULT htc_try_send(HTC_TARGET *target,
HTC_PACKET_QUEUE_TRANSFER_TO_HEAD(&pEndpoint->TxQueue,
&sendQueue);
LOCK_HTC_TX(target);
if (pEndpoint->service_id != WMI_CONTROL_SVC) {
LOCK_HTC_TX(target);
}
break;
}