staging/rtl8187se: Fix spacing coding style in ieee80211/ieee80211_softmac_wx.c
authorYAMANE Toshiaki <yamanetoshi@gmail.com>
Tue, 27 Nov 2012 12:09:02 +0000 (21:09 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Nov 2012 17:20:30 +0000 (09:20 -0800)
The following warnings fixed.
- WARNING: suspect code indent for conditional statements

Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/ieee80211/ieee80211_softmac_wx.c

index 0b82c600cc88f6f6f72ea963c3b649ea85f2aae2..63524caef6ccb8cb1a02a33e85b4a5c504061016 100644 (file)
@@ -69,9 +69,8 @@ int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info
 
                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);
+                               ieee80211_stop_send_beacons(ieee);
+                               ieee80211_start_send_beacons(ieee);
                        }
        }
 
@@ -219,9 +218,9 @@ int ieee80211_wx_set_rate(struct ieee80211_device *ieee,
 
        //added by lizhaoming for auto mode
        if (target_rate == -1) {
-       ieee->rate = 110;
+               ieee->rate = 110;
        } else {
-       ieee->rate = target_rate/100000;
+               ieee->rate = target_rate/100000;
        }
        //FIXME: we might want to limit rate also in management protocols.
        return 0;