From: Dan Carpenter Date: Wed, 18 Mar 2015 08:22:35 +0000 (+0300) Subject: mwifiex: missing curly braces in mwifiex_write_data_complete() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=bb408cc78401c53842e17b24b6433c122629f21f;p=deliverable%2Flinux.git mwifiex: missing curly braces in mwifiex_write_data_complete() It's clear from the indenting that curly braces were intended here. Fixes: e35000ead491 ('mwifiex: preprocess packets from TX queue') Signed-off-by: Dan Carpenter Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/mwifiex/txrx.c b/drivers/net/wireless/mwifiex/txrx.c index 4d43371583cf..a245f444aeec 100644 --- a/drivers/net/wireless/mwifiex/txrx.c +++ b/drivers/net/wireless/mwifiex/txrx.c @@ -302,10 +302,11 @@ int mwifiex_write_data_complete(struct mwifiex_adapter *adapter, 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); if (tx_info->flags & MWIFIEX_BUF_FLAG_AGGR_PKT) goto done; + } if (aggr) /* For skb_aggr, do not wake up tx queue */