Quellcode durchsuchen

qcacmn: Fix misleading-indentation build error

This change fixes build errors with compiler option
-Werror=misleading-indentation.

Change-Id: I7dbafdc60f0e143c33e4abe12dfd2dbc2d7756cd
CRs-Fixed: 2346027
jiad vor 6 Jahren
Ursprung
Commit
5728624cee
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      dp/wifi3.0/dp_tx.c

+ 2 - 1
dp/wifi3.0/dp_tx.c

@@ -1244,9 +1244,10 @@ static void dp_tx_classify_tid(struct dp_vdev *vdev, qdf_nbuf_t nbuf,
 static void dp_tx_update_tdls_flags(struct dp_tx_desc_s *tx_desc)
 {
 	if (tx_desc->vdev) {
-		if (tx_desc->vdev->is_tdls_frame)
+		if (tx_desc->vdev->is_tdls_frame) {
 			tx_desc->flags |= DP_TX_DESC_FLAG_TDLS_FRAME;
 			tx_desc->vdev->is_tdls_frame = false;
+		}
 	}
 }