mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-14 17:14:09 +00:00
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>
This commit is contained in:
parent
7fb1c2ac8e
commit
6941727a08
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user