rtlwifi: btcoex: 21a 1ant: fix some coding style issues
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Tue, 16 May 2017 13:19:49 +0000 (08:19 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 18 May 2017 14:09:49 +0000 (17:09 +0300)
Fix alignment for coding style consistency.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Pkshih <pkshih@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c

index a5ac07cf0dcac5e95bbe536cb72fe55e33fa62d1..93644bedaa0f40a0b45bed5339442bafee5bee8c 100644 (file)
@@ -2839,14 +2839,14 @@ void ex_btc8821a1ant_bt_info_notify(struct btc_coexist *btcoexist,
        }
 
        if (BT_INFO_SRC_8821A_1ANT_WIFI_FW != rsp_source) {
-               coex_sta->bt_retry_cnt =        /* [3:0]*/
-                       coex_sta->bt_info_c2h[rsp_source][2]&0xf;
+               /* [3:0] */
+               coex_sta->bt_retry_cnt =
+                       coex_sta->bt_info_c2h[rsp_source][2] & 0xf;
 
                coex_sta->bt_rssi =
-                       coex_sta->bt_info_c2h[rsp_source][3]*2+10;
+                       coex_sta->bt_info_c2h[rsp_source][3] * 2 + 10;
 
-               coex_sta->bt_info_ext =
-                       coex_sta->bt_info_c2h[rsp_source][4];
+               coex_sta->bt_info_ext = coex_sta->bt_info_c2h[rsp_source][4];
 
                /* Here we need to resend some wifi info to BT
                 * because bt is reset and lost the info
@@ -2928,11 +2928,11 @@ void ex_btc8821a1ant_bt_info_notify(struct btc_coexist *btcoexist,
                RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD,
                         "[BTCoex], BtInfoNotify(), BT Connected-idle!!!\n");
        } else if ((bt_info&BT_INFO_8821A_1ANT_B_SCO_ESCO) ||
-               (bt_info&BT_INFO_8821A_1ANT_B_SCO_BUSY)) {
+               (bt_info & BT_INFO_8821A_1ANT_B_SCO_BUSY)) {
                coex_dm->bt_status = BT_8821A_1ANT_BT_STATUS_SCO_BUSY;
                RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD,
                         "[BTCoex], BtInfoNotify(), BT SCO busy!!!\n");
-       } else if (bt_info&BT_INFO_8821A_1ANT_B_ACL_BUSY) {
+       } else if (bt_info & BT_INFO_8821A_1ANT_B_ACL_BUSY) {
                if (BT_8821A_1ANT_BT_STATUS_ACL_BUSY != coex_dm->bt_status)
                        coex_dm->auto_tdma_adjust = false;
                coex_dm->bt_status = BT_8821A_1ANT_BT_STATUS_ACL_BUSY;