rtl8192u: fix whitespace around ~ in r8192U_dm.c
authorXenia Ragiadakou <burzalodowa@gmail.com>
Mon, 13 May 2013 20:36:39 +0000 (23:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:44:50 +0000 (16:44 -0700)
This patch fixes the following checkpatch error:
ERROR: space prohibited after that '~'

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_dm.c

index 3d7a343e2cc018a3d4b0db9939a824a5142a9944..93a1c1da2580797a5d93a14c040ca534fad72cda 100644 (file)
@@ -1736,7 +1736,7 @@ extern void dm_restore_dynamic_mechanism_state(struct net_device *dev)
                        ratr_value = reg_ratr;
                        if(priv->rf_type == RF_1T2R)    // 1T2R, Spatial Stream 2 should be disabled
                        {
-                               ratr_value &=(RATE_ALL_OFDM_2SS);
+                               ratr_value &= ~(RATE_ALL_OFDM_2SS);
                                //DbgPrint("HW_VAR_TATR_0 from 0x%x ==> 0x%x\n", ((pu4Byte)(val))[0], ratr_value);
                        }
                        //DbgPrint("set HW_VAR_TATR_0 = 0x%x\n", ratr_value);
@@ -3057,7 +3057,7 @@ static void dm_rxpath_sel_byrssi(struct net_device *dev)
        }
 
        DM_RxPathSelTable.disabledRF = 0xf;
-       DM_RxPathSelTable.disabledRF &=(read_nic_byte(dev, 0xc04));
+       DM_RxPathSelTable.disabledRF &= ~(read_nic_byte(dev, 0xc04));
 
        if(priv->ieee80211->mode == WIRELESS_MODE_B)
        {