From patchwork Mon Apr 17 00:06:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9683309 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A61F960388 for ; Mon, 17 Apr 2017 00:07:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97CFA26AE3 for ; Mon, 17 Apr 2017 00:07:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8CBC726C9B; Mon, 17 Apr 2017 00:07:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID, URIBL_BLACK autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 560DD26AE3 for ; Mon, 17 Apr 2017 00:07:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757054AbdDQAHV (ORCPT ); Sun, 16 Apr 2017 20:07:21 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:35761 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756927AbdDQAHR (ORCPT ); Sun, 16 Apr 2017 20:07:17 -0400 Received: by mail-oi0-f65.google.com with SMTP id a21so8751763oic.2 for ; Sun, 16 Apr 2017 17:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=VtdNzLcXHQpObU6Y3IL9ZFL385bQv6bAYxj4UQUo8JE=; b=t/AQIRyi9fJK4WO1w53YG/CjHtqZ5bdE8jNtropp+BKwNjCIOyII6tFPl47xVq/CN/ QeQKp/eIArPJCUIMw7ovIuXZUJ6SeUkEG7bvfKHoxpAPpsdH9IK5ZE0l5RteV/CeMdpn x56lL5JG6tIpq8AaexwhFpnLPvVhIirLsEwt1h0WE3mcdijaKB3Vhsr1fqcrnR9tAY0t 6O3rHALWdeypFXKQ0PkbYn8xn2JjKoFguFaKbXwixniEP+x2xaQXYC8G1TPov2MKe+8K GJwioUOFyoziBQCu6xziRqVG+zABpcle2V7s1xHCilVwl+9VJMjchzdST2uadOLbElCy bKnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=VtdNzLcXHQpObU6Y3IL9ZFL385bQv6bAYxj4UQUo8JE=; b=POR2Lq/3hFJrWHtJeKUaNv3s3xOiBf+yvuZN2ncHNJNXU6umH4HJvx5iBdyeT4KCYE lD5VR2l5eJCnjsVndkRfYZ3HkIV80hNIEiVTUEFoO8lAVwO2j5Vs93t0WkhrXTYV4b83 R/x81eS6pwATP+RQ+TiDYl9UHBzdGRDNzBk28PNKHxdzSwZNblO6f8/mb0ntlkbQq8K1 ZuBRba7htH71hDZYEeBNil5pU30MR+B7rNLz2m/aBba0LcsITTFbG6pQ681yJ1N2hgDb cgX3PWEUNJJ4GpCiWFRrgNcHZJN2dxQfhQwFQ/qtlbReNSCnTTTWzY8Nue1wifBWbyWp UD6A== X-Gm-Message-State: AN3rC/6jykbVURUZFM6ZBw+5G2xV0ZV8IjDXnQtNJrZXAaUlLkzD0Gzb huBLws4eAHfL+fpi X-Received: by 10.157.26.61 with SMTP id a58mr3379774ote.74.1492387637025; Sun, 16 Apr 2017 17:07:17 -0700 (PDT) Received: from linux-4v1g.suse (cpe-24-31-249-175.kc.res.rr.com. [24.31.249.175]) by smtp.gmail.com with ESMTPSA id v49sm3963286otb.13.2017.04.16.17.07.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Apr 2017 17:07:16 -0700 (PDT) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Yan-Hsuan Chuang , Larry Finger , Pkshih , Birming Chiu , Shaofu , Steven Ting Subject: [PATCH 12/13] rtlwifi: btcoex: 21a 1ant: fix some coding style issues Date: Sun, 16 Apr 2017 19:06:59 -0500 Message-Id: <20170417000700.29057-13-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170417000700.29057-1-Larry.Finger@lwfinger.net> References: <20170417000700.29057-1-Larry.Finger@lwfinger.net> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yan-Hsuan Chuang Fix alignment for coding style consistency. Signed-off-by: Yan-Hsuan Chuang Signed-off-by: Larry Finger Cc: Pkshih Cc: Birming Chiu Cc: Shaofu Cc: Steven Ting --- .../wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c index 7d91d82e37fe..8022779004fb 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c @@ -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;