Sfoglia il codice sorgente

qcacld-3.0: Fix the coding style error

Fix the coding style error.

Change-Id: Iafd3fc730c188fe027fc9a4dde3f45520091f47b
CRs-Fixed: 2125802
Tiger Yu 7 anni fa
parent
commit
438c648c7b
2 ha cambiato i file con 4 aggiunte e 6 eliminazioni
  1. 2 3
      core/hdd/src/wlan_hdd_softap_tx_rx.c
  2. 2 3
      core/hdd/src/wlan_hdd_tx_rx.c

+ 2 - 3
core/hdd/src/wlan_hdd_softap_tx_rx.c

@@ -224,15 +224,14 @@ static inline struct sk_buff *hdd_skb_orphan(struct hdd_adapter *adapter,
 #endif
 	} else if (hdd_ctx->config->tx_orphan_enable) {
 		if (qdf_nbuf_is_ipv4_tcp_pkt(skb) ||
-			qdf_nbuf_is_ipv6_tcp_pkt(skb))
+		    qdf_nbuf_is_ipv6_tcp_pkt(skb))
 			need_orphan = 1;
 	}
 
 	if (need_orphan) {
 		skb_orphan(skb);
 		++adapter->hdd_stats.hddTxRxStats.txXmitOrphaned;
-	}
-	else
+	} else
 		skb = skb_unshare(skb, GFP_ATOMIC);
 
 	return skb;

+ 2 - 3
core/hdd/src/wlan_hdd_tx_rx.c

@@ -187,15 +187,14 @@ static inline struct sk_buff *hdd_skb_orphan(struct hdd_adapter *adapter,
 #endif
 	} else if (hdd_ctx->config->tx_orphan_enable) {
 		if (qdf_nbuf_is_ipv4_tcp_pkt(skb) ||
-			qdf_nbuf_is_ipv6_tcp_pkt(skb))
+		    qdf_nbuf_is_ipv6_tcp_pkt(skb))
 			need_orphan = 1;
 	}
 
 	if (need_orphan) {
 		skb_orphan(skb);
 		++adapter->hdd_stats.hddTxRxStats.txXmitOrphaned;
-	}
-	else
+	} else
 		skb = skb_unshare(skb, GFP_ATOMIC);
 
 	return skb;