Commit 6941727a authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by Jeff Garzik

hamradio/scc: add missing block braces to multi-statement if

Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 7fb1c2ac
...@@ -1340,9 +1340,10 @@ static unsigned int scc_set_param(struct scc_channel *scc, unsigned int cmd, uns ...@@ -1340,9 +1340,10 @@ static unsigned int scc_set_param(struct scc_channel *scc, unsigned int cmd, uns
case PARAM_RTS: case PARAM_RTS:
if ( !(scc->wreg[R5] & RTS) ) if ( !(scc->wreg[R5] & RTS) )
{ {
if (arg != TX_OFF) if (arg != TX_OFF) {
scc_key_trx(scc, TX_ON); scc_key_trx(scc, TX_ON);
scc_start_tx_timer(scc, t_txdelay, scc->kiss.txdelay); scc_start_tx_timer(scc, t_txdelay, scc->kiss.txdelay);
}
} else { } else {
if (arg == TX_OFF) if (arg == TX_OFF)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment