]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging:rtl8723au: core: Added missing space reported by checkpatch.
authorSanjeev Sharma <sanjeev_sharma@mentor.com>
Tue, 11 Nov 2014 07:54:43 +0000 (13:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 20:43:12 +0000 (12:43 -0800)
This is a patch to the rtw_cmd.c file that fixes following
Error.

ERROR: spaces required around that '>' (ctx:WxV)

Signed-off-by: Sanjeev Sharma <Sanjeev_Sharma@mentor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_cmd.c

index 77d43a5960a1cb4ff4761babe3939f8e03b0a101..afb237bf62875e2849b46f2651e5674f3fbe1c1d 100644 (file)
@@ -954,7 +954,7 @@ static void traffic_status_watchdog(struct rtw_adapter *padapter)
                /*  check traffic for  powersaving. */
                        if (((pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod +
                              pmlmepriv->LinkDetectInfo.NumTxOkInPeriod) > 8) ||
-                           pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod >2)
+                           pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod > 2)
                                bEnterPS = false;
                        else
                                bEnterPS = true;
@@ -1148,7 +1148,7 @@ static void rtw_chk_hi_queue_hdl(struct rtw_adapter *padapter)
 
                        cnt++;
 
-                       if (cnt>10)
+                       if (cnt > 10)
                                break;
 
                        val = rtl8723a_chk_hi_queue_empty(padapter);