1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-25 14:44:09 +00:00

Merge pull request #21 from kimocoder/v4.3.21

Fix some conditional statements (missing braces)
This commit is contained in:
Christian kimocoder 2017-10-03 19:12:50 +02:00 committed by GitHub
commit a5f35fa7fd

View File

@ -615,11 +615,11 @@ s32 rtl8812au_xmitframe_complete(_adapter *padapter, struct xmit_priv *pxmitpriv
// check pkt amount in one bulk // check pkt amount in one bulk
descCount = 0; descCount = 0;
bulkPtr = bulkSize; bulkPtr = bulkSize;
if (pbuf < bulkPtr) if (pbuf < bulkPtr) {
descCount++; descCount++;
if (descCount == pHalData->UsbTxAggDescNum) if (descCount == pHalData->UsbTxAggDescNum)
goto agg_end; goto agg_end;
else { } else {
descCount = 0; descCount = 0;
bulkPtr = ((pbuf / bulkSize) + 1) * bulkSize; // round to next bulkSize bulkPtr = ((pbuf / bulkSize) + 1) * bulkSize; // round to next bulkSize
} }