From 8517abf0df14aaceb2e0203a5ca47acf368d915e Mon Sep 17 00:00:00 2001 From: Christian kimocoder Date: Tue, 3 Oct 2017 08:00:20 +0200 Subject: [PATCH 1/3] Fixed typo * Fixed a single typo --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 95fb97a..21adc28 100755 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ CONFIG_HIGH_ACTIVE = n CONFIG_PNO_SUPPORT = n CONFIG_PNO_SET_DEBUG = n CONFIG_AP_WOWLAN = n -######### Notify SDIO Host Keep Power During Syspend ########## +######### Notify SDIO Host Keep Power During Suspend ########## CONFIG_RTW_SDIO_PM_KEEP_POWER = y ###################### MP HW TX MODE FOR VHT ####################### CONFIG_MP_VHT_HW_TX_MODE = n From 6a4f5f969e6d961a72e94b4d7b4ff21a90bc9988 Mon Sep 17 00:00:00 2001 From: Christian kimocoder Date: Tue, 3 Oct 2017 08:05:19 +0200 Subject: [PATCH 2/3] 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); } From 83448702612eb36efc30d8971d94e8217d7a4fd5 Mon Sep 17 00:00:00 2001 From: Christian kimocoder Date: Tue, 3 Oct 2017 08:07:07 +0200 Subject: [PATCH 3/3] Fix some conditional statements (missing braces) --- hal/rtl8814a/usb/rtl8814au_xmit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hal/rtl8814a/usb/rtl8814au_xmit.c b/hal/rtl8814a/usb/rtl8814au_xmit.c index ba53693..f176358 100644 --- a/hal/rtl8814a/usb/rtl8814au_xmit.c +++ b/hal/rtl8814a/usb/rtl8814au_xmit.c @@ -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 }