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:
parent
6a4f5f969e
commit
8344870261
@ -626,11 +626,11 @@ s32 rtl8814au_xmitframe_complete(_adapter *padapter, struct xmit_priv *pxmitpriv
|
||||
// check pkt amount in one bulk
|
||||
descCount = 0;
|
||||
bulkPtr = bulkSize;
|
||||
if (pbuf < bulkPtr)
|
||||
if (pbuf < bulkPtr) {
|
||||
descCount++;
|
||||
if (descCount == pHalData->UsbTxAggDescNum)
|
||||
goto agg_end;
|
||||
else {
|
||||
} else {
|
||||
descCount = 0;
|
||||
bulkPtr = ((pbuf / bulkSize) + 1) * bulkSize; // round to next bulkSize
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user