staging: rtl8192u: ieee80211: Indent if statement
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Tue, 7 Oct 2014 17:51:07 +0000 (23:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:15 +0000 (10:29 +0800)
This patch indents single statement below if statement
in files of rtl8192u: ieee80211.

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c

index 88f4836..a1c745b 100644 (file)
@@ -517,7 +517,7 @@ static void ieee80211_softmac_scan_wq(struct work_struct *work)
                goto out;
        ieee->set_chan(ieee->dev, ieee->current_network.channel);
        if(channel_map[ieee->current_network.channel] == 1)
-       ieee80211_send_probe_requests(ieee);
+               ieee80211_send_probe_requests(ieee);
 
 
        queue_delayed_work(ieee->wq, &ieee->softmac_scan_wq, IEEE80211_SOFTMAC_SCAN_TIME);
@@ -1103,7 +1103,7 @@ inline struct sk_buff *ieee80211_association_req(struct ieee80211_network *beaco
        if(ieee->short_slot)
                hdr->capability |= cpu_to_le16(WLAN_CAPABILITY_SHORT_SLOT);
        if (wmm_info_len) //QOS
-       hdr->capability |= cpu_to_le16(WLAN_CAPABILITY_QOS);
+               hdr->capability |= cpu_to_le16(WLAN_CAPABILITY_QOS);
 
        hdr->listen_interval = 0xa; //FIXME
 
@@ -1533,7 +1533,7 @@ void ieee80211_softmac_check_all_nets(struct ieee80211_device *ieee)
                        break;
 
                if (ieee->scan_age == 0 || time_after(target->last_scanned + ieee->scan_age, jiffies))
-               ieee80211_softmac_new_net(ieee, target);
+                       ieee80211_softmac_new_net(ieee, target);
        }
 
        spin_unlock_irqrestore(&ieee->lock, flags);
index 68f5ede..ae1b3cf 100644 (file)
@@ -172,7 +172,7 @@ static inline char *rtl819x_translate_scan(struct ieee80211_device *ieee,
        iwe.cmd = IWEVCUSTOM;
        iwe.u.data.length = p - custom;
        if (iwe.u.data.length)
-       start = iwe_stream_add_point(info, start, stop, &iwe, custom);
+               start = iwe_stream_add_point(info, start, stop, &iwe, custom);
        /* Add quality statistics */
        /* TODO: Fix these values... */
        iwe.cmd = IWEVQUAL;