1
0
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:
Christian kimocoder 2017-10-03 08:05:19 +02:00 committed by GitHub
parent 8517abf0df
commit 6a4f5f969e

View File

@ -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);
} }