hamradio/scc: add missing block braces to multi-statement if
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tue, 13 May 2008 11:16:53 +0000 (14:16 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 10:03:31 +0000 (06:03 -0400)
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/hamradio/scc.c

index f905159..45ae9d1 100644 (file)
@@ -1340,9 +1340,10 @@ static unsigned int scc_set_param(struct scc_channel *scc, unsigned int cmd, uns
                case PARAM_RTS: 
                        if ( !(scc->wreg[R5] & RTS) )
                        {
                case PARAM_RTS: 
                        if ( !(scc->wreg[R5] & RTS) )
                        {
-                               if (arg != TX_OFF)
+                               if (arg != TX_OFF) {
                                        scc_key_trx(scc, TX_ON);
                                        scc_start_tx_timer(scc, t_txdelay, scc->kiss.txdelay);
                                        scc_key_trx(scc, TX_ON);
                                        scc_start_tx_timer(scc, t_txdelay, scc->kiss.txdelay);
+                               }
                        } else {
                                if (arg == TX_OFF)
                                {
                        } else {
                                if (arg == TX_OFF)
                                {