aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-03-18 04:22:35 -0400
committerKalle Valo <kvalo@codeaurora.org>2015-03-20 02:59:44 -0400
commitbb408cc78401c53842e17b24b6433c122629f21f (patch)
treed86096f69495126c5372b47c99de77a3e64fba48 /drivers/net/wireless/mwifiex
parentea345c145ff23197eab34d0c4d0c8a93d7bea8c6 (diff)
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 <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mwifiex')
-rw-r--r--drivers/net/wireless/mwifiex/txrx.c3
1 files changed, 2 insertions, 1 deletions
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,
302 priv->stats.tx_errors++; 302 priv->stats.tx_errors++;
303 } 303 }
304 304
305 if (tx_info->flags & MWIFIEX_BUF_FLAG_BRIDGED_PKT) 305 if (tx_info->flags & MWIFIEX_BUF_FLAG_BRIDGED_PKT) {
306 atomic_dec_return(&adapter->pending_bridged_pkts); 306 atomic_dec_return(&adapter->pending_bridged_pkts);
307 if (tx_info->flags & MWIFIEX_BUF_FLAG_AGGR_PKT) 307 if (tx_info->flags & MWIFIEX_BUF_FLAG_AGGR_PKT)
308 goto done; 308 goto done;
309 }
309 310
310 if (aggr) 311 if (aggr)
311 /* For skb_aggr, do not wake up tx queue */ 312 /* For skb_aggr, do not wake up tx queue */