Skip to content

Commit

Permalink
hamradio/scc: add missing block braces to multi-statement if
Browse files Browse the repository at this point in the history
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Ilpo Järvinen authored and Jeff Garzik committed May 22, 2008
1 parent 7fb1c2a commit 6941727
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/hamradio/scc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 6941727

Please sign in to comment.