[PATCH] staging: rtl8723au: Fix checkpatch error.
Mihaela Gaman
mp.gaman at gmail.com
Tue Sep 30 17:07:55 EEST 2014
This fixes the checkpatch errors:
"that open brace { should be on the previous line".
Signed-off-by: Mihaela Gaman <mp.gaman at gmail.com>
---
drivers/staging/rtl8723au/core/rtw_ap.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_ap.c b/drivers/staging/rtl8723au/core/rtw_ap.c
index bc3b8ed..56779cc 100644
--- a/drivers/staging/rtl8723au/core/rtw_ap.c
+++ b/drivers/staging/rtl8723au/core/rtw_ap.c
@@ -512,8 +512,7 @@ static void update_bmc_sta(struct rtw_adapter *padapter)
psta->state = _FW_LINKED;
spin_unlock_bh(&psta->lock);
- }
- else
+ } else
DBG_8723A("add_RATid23a_bmc_sta error!\n");
}
@@ -1744,10 +1743,8 @@ void sta_info_update23a(struct rtw_adapter *padapter, struct sta_info *psta)
if (WLAN_STA_HT&flags) {
psta->htpriv.ht_option = true;
psta->qos_option = 1;
- }
- else {
+ } else
psta->htpriv.ht_option = false;
- }
if (!pmlmepriv->htpriv.ht_option)
psta->htpriv.ht_option = false;
--
1.9.1
More information about the firefly
mailing list