mwifiex: missing curly braces in mwifiex_write_data_complete()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 18 Mar 2015 08:22:35 +0000 (11:22 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 20 Mar 2015 06:59:44 +0000 (08:59 +0200)
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>
drivers/net/wireless/mwifiex/txrx.c

index 4d43371583cf6dca8de3bdfc1700e2611b75b2d8..a245f444aeec17e23c027b60d027239050fb4497 100644 (file)
@@ -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 */
This page took 0.028901 seconds and 5 git commands to generate.