diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-05-13 13:16:53 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-22 12:03:31 +0200 |
commit | 6941727a08d49c88a58bc3afb55044df7932549e (patch) | |
tree | 895f75e5f3319cf36faaf451504ba3541c77a383 /drivers/net/hamradio/scc.c | |
parent | ehea: Fix use after free on reboot (diff) | |
download | linux-6941727a08d49c88a58bc3afb55044df7932549e.tar.xz linux-6941727a08d49c88a58bc3afb55044df7932549e.zip |
hamradio/scc: add missing block braces to multi-statement if
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/hamradio/scc.c')
-rw-r--r-- | drivers/net/hamradio/scc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/hamradio/scc.c b/drivers/net/hamradio/scc.c index f90515935833..45ae9d1191d7 100644 --- a/drivers/net/hamradio/scc.c +++ b/drivers/net/hamradio/scc.c @@ -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) ) { - if (arg != TX_OFF) + if (arg != TX_OFF) { scc_key_trx(scc, TX_ON); scc_start_tx_timer(scc, t_txdelay, scc->kiss.txdelay); + } } else { if (arg == TX_OFF) { |