Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb408cc7 authored by Dan Carpenter's avatar Dan Carpenter Committed by Kalle Valo
Browse files

mwifiex: missing curly braces in mwifiex_write_data_complete()



It's clear from the indenting that curly braces were intended here.

Fixes: e35000ea ('mwifiex: preprocess packets from TX queue')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent ea345c14
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -302,10 +302,11 @@ int mwifiex_write_data_complete(struct mwifiex_adapter *adapter,
		priv->stats.tx_errors++;
		priv->stats.tx_errors++;
	}
	}


	if (tx_info->flags & MWIFIEX_BUF_FLAG_BRIDGED_PKT)
	if (tx_info->flags & MWIFIEX_BUF_FLAG_BRIDGED_PKT) {
		atomic_dec_return(&adapter->pending_bridged_pkts);
		atomic_dec_return(&adapter->pending_bridged_pkts);
		if (tx_info->flags & MWIFIEX_BUF_FLAG_AGGR_PKT)
		if (tx_info->flags & MWIFIEX_BUF_FLAG_AGGR_PKT)
			goto done;
			goto done;
	}


	if (aggr)
	if (aggr)
		/* For skb_aggr, do not wake up tx queue */
		/* For skb_aggr, do not wake up tx queue */