[PATCH 8/9] staging: rtl8192u: Correct if statement - Coding Style

John Whitmore johnfwhitmore at gmail.com
Tue Jun 19 19:56:04 UTC 2018


Corrected the coding style of if statement.

Signed-off-by: John Whitmore <johnfwhitmore at gmail.com>
---
 drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c
index 98688f9fdee6..05f0c8130458 100644
--- a/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c
@@ -738,8 +738,8 @@ void HTConstructRT2RTAggElement(struct ieee80211_device *ieee, u8 *posRT2RTAgg,
 	 * mode, enable this section of code.
 	 */
 #if 0
-	if(IS_UNDER_11N_AES_MODE(Adapter))
-		posRT2RTAgg->Octet[5] |=RT_HT_CAP_USE_AMPDU;
+	if (IS_UNDER_11N_AES_MODE(Adapter))
+		posRT2RTAgg->Octet[5] |= RT_HT_CAP_USE_AMPDU;
 	else
 		posRT2RTAgg->Octet[5] &= 0xfb;
 #endif
-- 
2.17.1



More information about the devel mailing list