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 b1500ee9a5cf8f97a2345324429fb119064116de..1102135c0bc81aee0e7744601596efb88a243c8e 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 3ca7f7d3ce2eff8cd41c599b080ce0eeae4f307f..2310ec779f7710d73fe7c5cf3423be26c7da37ef 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 0ea90aae428371879846187bfb476c2550e8eda8..ccb1221a9189f8491233caa24aeedcf529db6bc8 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..