diff mbox series

[06/15] ath11k: random whitespace fixes

Message ID 156534280882.30736.10489779348844331061.stgit@x230 (mailing list archive)
State Accepted
Commit 44781976e2e688be12b78b91839be1cd38c20f64
Delegated to: Kalle Valo
Headers show
Series [01/15] ath11k: rename per_transfer_context to skb | expand

Commit Message

Kalle Valo Aug. 9, 2019, 9:26 a.m. UTC
Found while reviewing the driver. No functional changes.

Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/dp_tx.c |    4 +++-
 drivers/net/wireless/ath/ath11k/wmi.c   |    6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.c b/drivers/net/wireless/ath/ath11k/dp_tx.c
index f7de1fb9820b..69f78d209315 100644
--- a/drivers/net/wireless/ath/ath11k/dp_tx.c
+++ b/drivers/net/wireless/ath/ath11k/dp_tx.c
@@ -112,7 +112,7 @@  int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,
 
 	if (info->control.hw_key)
 		ti.encrypt_type =
-		ath11k_dp_tx_get_encrypt_type(info->control.hw_key->cipher);
+			ath11k_dp_tx_get_encrypt_type(info->control.hw_key->cipher);
 	else
 		ti.encrypt_type = HAL_ENCRYPT_TYPE_OPEN;
 
@@ -123,6 +123,7 @@  int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,
 	ti.lmac_id = ar->lmac_id;
 	ti.bss_ast_hash = arvif->ast_hash;
 	ti.dscp_tid_tbl_idx = 0;
+
 	if (skb->ip_summed == CHECKSUM_PARTIAL) {
 		ti.flags0 |= FIELD_PREP(HAL_TCL_DATA_CMD_INFO1_IP4_CKSUM_EN, 1) |
 			     FIELD_PREP(HAL_TCL_DATA_CMD_INFO1_UDP4_CKSUM_EN, 1) |
@@ -133,6 +134,7 @@  int ath11k_dp_tx(struct ath11k *ar, struct ath11k_vif *arvif,
 
 	if (ieee80211_vif_is_mesh(arvif->vif))
 		ti.flags1 |= FIELD_PREP(HAL_TCL_DATA_CMD_INFO2_MESH_ENABLE, 1);
+
 	ti.flags1 |= FIELD_PREP(HAL_TCL_DATA_CMD_INFO2_TID_OVERWRITE, 1);
 
 	ti.tid = ath11k_dp_tx_get_tid(skb);
diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c
index 24058ab1f5fd..e553adf1cf9d 100644
--- a/drivers/net/wireless/ath/ath11k/wmi.c
+++ b/drivers/net/wireless/ath/ath11k/wmi.c
@@ -3388,9 +3388,9 @@  static int ath11k_pull_mgmt_tx_compl_param_tlv(struct ath11k_base *ab,
 		return -EPROTO;
 	}
 
-	param->pdev_id =  ev->pdev_id;
-	param->desc_id =  ev->desc_id;
-	param->status =  ev->status;
+	param->pdev_id = ev->pdev_id;
+	param->desc_id = ev->desc_id;
+	param->status = ev->status;
 
 	kfree(tb);
 	return 0;