mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-29 00:17:41 +00:00
Fix some conditional statements (missing braces)
This commit is contained in:
parent
8517abf0df
commit
6a4f5f969e
@ -12276,14 +12276,13 @@ void rtw_delba_check(_adapter *padapter, struct sta_info *psta, u8 from_timer)
|
|||||||
ret = issue_del_ba_ex(padapter, psta->hwaddr, i, 39, 0, 3, 1);
|
ret = issue_del_ba_ex(padapter, psta->hwaddr, i, 39, 0, 3, 1);
|
||||||
else
|
else
|
||||||
issue_del_ba(padapter, psta->hwaddr, i, 39, 0);
|
issue_del_ba(padapter, psta->hwaddr, i, 39, 0);
|
||||||
psta->recvreorder_ctrl[i].enable = _FALSE;
|
psta->recvreorder_ctrl[i].enable = _FALSE;
|
||||||
if (ret != _FAIL)
|
if (ret != _FAIL)
|
||||||
psta->recvreorder_ctrl[i].ampdu_size = RX_AMPDU_SIZE_INVALID;
|
psta->recvreorder_ctrl[i].ampdu_size = RX_AMPDU_SIZE_INVALID;
|
||||||
rtw_reset_continual_no_rx_packet(psta, i);
|
rtw_reset_continual_no_rx_packet(psta, i);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
} else{
|
||||||
/* The inactivity timer is reset when MPDUs to the TID is received. */
|
/* The inactivity timer is reset when MPDUs to the TID is received. */
|
||||||
rtw_reset_continual_no_rx_packet(psta, i);
|
rtw_reset_continual_no_rx_packet(psta, i);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user