Added spaces around binary operators like '+', '*', '|', '-', '&',
to improve readability and to meet linux kernel coding style.

Signed-off-by: Mitali Borkar <mitaliborkar...@gmail.com>
---
 drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 ++++----
 drivers/staging/rtl8192e/rtl819x_TSProc.c | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c 
b/drivers/staging/rtl8192e/rtl819x_HTProc.c
index cc761d965b1d..7ed2ed9e63f6 100644
--- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
@@ -138,7 +138,7 @@ u16  TxCountToDataRate(struct rtllib_device *ieee, u8 
nDataRate)
                is40MHz = 1;
                isShortGI = 1;
        }
-       return MCS_DATA_RATE[is40MHz][isShortGI][nDataRate&0xf];
+       return MCS_DATA_RATE[is40MHz][isShortGI][nDataRate & 0xf];
 }
 
 bool IsHTHalfNmodeAPs(struct rtllib_device *ieee)
@@ -479,8 +479,8 @@ u8 HTGetHighestMCSRate(struct rtllib_device *ieee, u8 
*pMCSRateSet,
                if (availableMcsRate[i] != 0) {
                        bitMap = availableMcsRate[i];
                        for (j = 0; j < 8; j++) {
-                               if ((bitMap%2) != 0) {
-                                       if (HTMcsToDataRate(ieee, (8*i+j)) >
+                               if ((bitMap % 2) != 0) {
+                                       if (HTMcsToDataRate(ieee, (8 * i + j)) >
                                            HTMcsToDataRate(ieee, mcsRate))
                                                mcsRate = 8 * i + j;
                                }
@@ -577,7 +577,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee)
 
        pHTInfo->bCurrentAMPDUEnable = pHTInfo->bAMPDUEnable;
        if (ieee->rtllib_ap_sec_type &&
-          (ieee->rtllib_ap_sec_type(ieee)&(SEC_ALG_WEP|SEC_ALG_TKIP))) {
+          (ieee->rtllib_ap_sec_type(ieee) & (SEC_ALG_WEP | SEC_ALG_TKIP))) {
                if ((pHTInfo->IOTPeer == HT_IOT_PEER_ATHEROS) ||
                                (pHTInfo->IOTPeer == HT_IOT_PEER_UNKNOWN))
                        pHTInfo->bCurrentAMPDUEnable = false;
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c 
b/drivers/staging/rtl8192e/rtl819x_TSProc.c
index c294a6543e12..afcdb4b6a18e 100644
--- a/drivers/staging/rtl8192e/rtl819x_TSProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c
@@ -104,7 +104,7 @@ static void ResetTsCommonInfo(struct ts_common_info 
*pTsCommonInfo)
 {
        eth_zero_addr(pTsCommonInfo->Addr);
        memset(&pTsCommonInfo->TSpec, 0, sizeof(union tspec_body));
-       memset(&pTsCommonInfo->TClass, 0, sizeof(union qos_tclas)*TCLAS_NUM);
+       memset(&pTsCommonInfo->TClass, 0, sizeof(union qos_tclas) * TCLAS_NUM);
        pTsCommonInfo->TClasProc = 0;
        pTsCommonInfo->TClasNum = 0;
 }
@@ -189,9 +189,9 @@ void TSInitialize(struct rtllib_device *ieee)
        for (count = 0; count < REORDER_ENTRY_NUM; count++) {
                list_add_tail(&pRxReorderEntry->List,
                              &ieee->RxReorder_Unused_List);
-               if (count == (REORDER_ENTRY_NUM-1))
+               if (count == (REORDER_ENTRY_NUM - 1))
                        break;
-               pRxReorderEntry = &ieee->RxReorderEntry[count+1];
+               pRxReorderEntry = &ieee->RxReorderEntry[count + 1];
        }
 
 }
@@ -518,7 +518,7 @@ void TsStartAddBaProcess(struct rtllib_device *ieee, struct 
tx_ts_record *pTxTS)
                                  msecs_to_jiffies(TS_ADDBA_DELAY));
                } else {
                        netdev_dbg(ieee->dev, "Immediately Start ADDBA\n");
-                       mod_timer(&pTxTS->TsAddBaTimer, jiffies+10);
+                       mod_timer(&pTxTS->TsAddBaTimer, jiffies + 10);
                }
        } else
                netdev_dbg(ieee->dev, "BA timer is already added\n");
-- 
2.30.2

Reply via email to