qcacmn: Fix TX Bus bundle error for SDIO WLAN

For SDIO WLAN, the creditsize is different for data EP than other
EPs. This change using alt credit size to replace of original
credit size.

CRs-Fixed: 2072158
Change-Id: I105db55da66e6123b2a53326d53758c24eca21ec
This commit is contained in:
Chris Guo
2017-07-06 18:56:32 +08:00
committad av pramod kotreshappa
förälder f8c766c957
incheckning 37cf36d2e6
2 ändrade filer med 7 tillägg och 0 borttagningar

Visa fil

@@ -564,6 +564,7 @@ QDF_STATUS htc_wait_target(HTC_HANDLE HTCHandle)
(int)HTC_GET_FIELD(rdy_msg, HTC_READY_MSG, CREDITSIZE);
target->MaxMsgsPerHTCBundle =
(uint8_t) pReadyMsg->MaxMsgsPerHTCBundle;
UPDATE_ALT_CREDIT(target, pReadyMsg->AltDataCreditSize);
/* for old fw this value is set to 0. But the minimum value
* should be 1, i.e., no bundling
*/