浏览代码

qcacmn: Fix misleading-indentation build error

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

Change-Id: I7dbafdc60f0e143c33e4abe12dfd2dbc2d7756cd
CRs-Fixed: 2346027
jiad 6 年之前
父节点
当前提交
5728624cee
共有 1 个文件被更改,包括 2 次插入1 次删除
  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;
+		}
 	}
 }