From 6a4f5f969e6d961a72e94b4d7b4ff21a90bc9988 Mon Sep 17 00:00:00 2001 From: Christian kimocoder Date: Tue, 3 Oct 2017 08:05:19 +0200 Subject: [PATCH] Fix some conditional statements (missing braces) --- core/rtw_mlme_ext.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/rtw_mlme_ext.c b/core/rtw_mlme_ext.c index 37bdfbf..9537b2e 100644 --- a/core/rtw_mlme_ext.c +++ b/core/rtw_mlme_ext.c @@ -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); else issue_del_ba(padapter, psta->hwaddr, i, 39, 0); - psta->recvreorder_ctrl[i].enable = _FALSE; + psta->recvreorder_ctrl[i].enable = _FALSE; if (ret != _FAIL) 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. */ rtw_reset_continual_no_rx_packet(psta, i); }