staging: rtl8187se: fix conditional statement indent
authorTeodora Baluta <teobaluta@gmail.com>
Mon, 21 Oct 2013 23:37:18 +0000 (02:37 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Oct 2013 21:17:56 +0000 (14:17 -0700)
This patch fixes the following checkpatch warning:
WARNING: suspect code indent for conditional statements (24, 26)

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c

index ae725944a9c008b1bd25e25301db8c2463b0aa30..2fa89e0baefdc08d10e465c6ab0995a14f2c3be4 100644 (file)
@@ -501,13 +501,13 @@ int ieee80211_rtl_xmit(struct sk_buff *skb,
                                bytes = bytes_last_frag;
                        }
                        if (ieee->current_network.QoS_Enable) {
-                         /*
-                          * add 1 only indicate to corresponding seq number
-                          * control 2006/7/12
-                          */
-                         frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[UP2AC(skb->priority)+1]<<4 | i);
+                               /*
+                                * add 1 only indicate to corresponding seq
+                                * number control 2006/7/12
+                                */
+                               frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[UP2AC(skb->priority)+1]<<4 | i);
                        } else {
-                         frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[0]<<4 | i);
+                               frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[0]<<4 | i);
                        }
 
                        /* Put a SNAP header on the first fragment */