staging: rtl8192e: Indent the code
authorGeorgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Tue, 7 Mar 2017 22:19:11 +0000 (00:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 17:18:20 +0000 (18:18 +0100)
Indent the code in order to follow the rules and to
increase the readability of the code.

Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_wx.c
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c

index b1500ee..1102135 100644 (file)
@@ -668,7 +668,7 @@ done:
        if (ieee->set_security)
                ieee->set_security(ieee->dev, &sec);
 
-        if (ieee->reset_on_keychange &&
+       if (ieee->reset_on_keychange &&
            ieee->iw_mode != IW_MODE_INFRA &&
            ieee->reset_port && ieee->reset_port(dev)) {
                netdev_dbg(ieee->dev, "Port reset failed\n");
index 3ca7f7d..2310ec7 100644 (file)
@@ -939,7 +939,7 @@ int ieee80211_rx(struct ieee80211_device *ieee, struct sk_buff *skb,
        if (HTCCheck(ieee, skb->data))
        {
                if(net_ratelimit())
-               printk("find HTCControl\n");
+                       printk("find HTCControl\n");
                hdrlen += 4;
                rx_stats->bContainHTC = true;
        }
index 0ea90aa..ccb1221 100644 (file)
@@ -466,7 +466,7 @@ void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee)
                        goto out;
                ieee->set_chan(ieee->dev, ch);
                if(channel_map[ch] == 1)
-               ieee80211_send_probe_requests(ieee);
+                       ieee80211_send_probe_requests(ieee);
 
                /* this prevent excessive time wait when we
                 * need to wait for a syncro scan to end..