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:13:17 +02:00 committed by GitHub
parent 8344870261
commit bd612b2ee1

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
} }