瀏覽代碼

staging: rtl8187se: fix conditional statement indent

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>
Teodora Baluta 12 年之前
父節點
當前提交
ea748af2ce
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c

+ 6 - 6
drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c

@@ -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 */