lkml.org 
[lkml]   [2018]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 8/9] staging: rtl8192u: Correct if statement - Coding Style
Date
Corrected the coding style of if statement.

Signed-off-by: John Whitmore <johnfwhitmore@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
\
 
 \ /
  Last update: 2018-06-19 21:57    [W:0.076 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site