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

Fix some conditional statements (missing braces)

This commit is contained in:
Christian kimocoder 2017-10-03 08:07:07 +02:00 committed by GitHub
parent 6a4f5f969e
commit 8344870261

View File

@ -626,11 +626,11 @@ s32 rtl8814au_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
} }