OSDN Git Service

staging: rtl8723au: rtl8723a_bt-coexist.c: Be consistent in use of BIT()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:03:45 +0000 (10:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:20 +0000 (11:34 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c

index 32f8875..8e1eb81 100644 (file)
@@ -9530,7 +9530,8 @@ static void BTDM_Display8723ABtCoexInfo(struct rtw_adapter *padapter)
 
                                        btInfoExt = pHalData->bt_coexist.halCoex8723.btInfoExt;
                                        rsprintf(btCoexDbgBuf, BT_TMP_BUF_SIZE, "\r\n %-35s = %s", "A2DP rate", \
-                                               (btInfoExt&BIT0) ? "Basic rate" : "EDR rate");
+                                                (btInfoExt & BIT(0)) ?
+                                                "Basic rate" : "EDR rate");
                                        DCMD_Printf(btCoexDbgBuf);
                                } else {
                                        rsprintf(btCoexDbgBuf, BT_TMP_BUF_SIZE, "\r\n %-35s = %s/ %s", "Bt link type/spec", \