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
这个提交包含在:
Chris Guo
2017-07-06 18:56:32 +08:00
提交者 pramod kotreshappa
父节点 f8c766c957
当前提交 37cf36d2e6
修改 2 个文件,包含 7 行新增0 行删除

查看文件

@@ -57,6 +57,12 @@ extern "C" {
#define HTC_MAX_MSG_PER_BUNDLE_TX 32
#endif
#ifdef HIF_SDIO
#define UPDATE_ALT_CREDIT(tar, val) (tar->AltDataCreditSize = (uint16_t) val)
#else
#define UPDATE_ALT_CREDIT(tar, val) /* no-op */
#endif
/*
* HTC_MAX_TX_BUNDLE_SEND_LIMIT -
* This value is in units of tx frame fragments.