Staging: rtl8192u: add spaces around == and || operators
authormike dupuis <mike.dupuis.0@gmail.com>
Thu, 24 Sep 2015 06:15:38 +0000 (22:15 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:29:02 +0000 (04:29 +0200)
This is a patch to add missing spaces around == and || operators in one
instance in ieee80211_softmac_wx.c.

Signed-off-by: Mike Dupuis <mike.dupuis.0@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c

index a1548d057c4b9e0a0e943ecfaa7c393a3ab28dc3..a5ca2e3433111c80f611b49a3dc3775b40dc0dc7 100644 (file)
@@ -344,7 +344,7 @@ void ieee80211_wx_sync_scan_wq(struct work_struct *work)
        ieee->state = IEEE80211_LINKED;
        ieee->link_change(ieee->dev);
        /* To prevent the immediately calling watch_dog after scan. */
-       if (ieee->LinkDetectInfo.NumRecvBcnInPeriod==0||ieee->LinkDetectInfo.NumRecvDataInPeriod==0) {
+       if (ieee->LinkDetectInfo.NumRecvBcnInPeriod == 0 || ieee->LinkDetectInfo.NumRecvDataInPeriod == 0) {
                ieee->LinkDetectInfo.NumRecvBcnInPeriod = 1;
                ieee->LinkDetectInfo.NumRecvDataInPeriod= 1;
        }