Staging: rtl8192u: space required before open parentheses
authorMike Dupuis <mike.dupuis.0@gmail.com>
Mon, 14 Sep 2015 06:42:44 +0000 (22:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Sep 2015 13:36:24 +0000 (06:36 -0700)
This is a patch to add spaces where required before open parentheses 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 5b6cf0b12d09c8655016e77939efa6370400eea1..45eb416bc2ad93cb476774625536a8ab647b0712 100644 (file)
@@ -70,8 +70,8 @@ int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info
                ieee->current_network.channel = fwrq->m;
                ieee->set_chan(ieee->dev, ieee->current_network.channel);
 
-               if(ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER)
-                       if(ieee->state == IEEE80211_LINKED) {
+               if (ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER)
+                       if (ieee->state == IEEE80211_LINKED) {
 
                        ieee80211_stop_send_beacons(ieee);
                        ieee80211_start_send_beacons(ieee);
@@ -352,7 +352,7 @@ void ieee80211_wx_sync_scan_wq(struct work_struct *work)
        if (ieee->data_hard_resume)
                ieee->data_hard_resume(ieee->dev);
 
-       if(ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER)
+       if (ieee->iw_mode == IW_MODE_ADHOC || ieee->iw_mode == IW_MODE_MASTER)
                ieee80211_start_send_beacons(ieee);
 
        netif_carrier_on(ieee->dev);
@@ -408,7 +408,7 @@ int ieee80211_wx_set_essid(struct ieee80211_device *ieee,
                goto out;
        }
 
-       if(proto_started)
+       if (proto_started)
                ieee80211_stop_protocol(ieee);
 
 
@@ -459,7 +459,7 @@ EXPORT_SYMBOL(ieee80211_wx_get_mode);
 
        down(&ieee->wx_sem);
 
-       if(enable)
+       if (enable)
                ieee->raw_tx = 1;
        else
                ieee->raw_tx = 0;
@@ -476,7 +476,7 @@ EXPORT_SYMBOL(ieee80211_wx_get_mode);
                        netif_carrier_on(ieee->dev);
                }
 
-               if(prev && ieee->raw_tx == 1)
+               if (prev && ieee->raw_tx == 1)
                        netif_carrier_off(ieee->dev);
        }
 
This page took 0.045721 seconds and 5 git commands to generate.