From: Ilpo Järvinen Date: Tue, 13 May 2008 11:16:53 +0000 (+0300) Subject: hamradio/scc: add missing block braces to multi-statement if X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6941727a08d49c88a58bc3afb55044df7932549e;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git hamradio/scc: add missing block braces to multi-statement if Signed-off-by: Ilpo Järvinen Signed-off-by: Jeff Garzik --- 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) {