File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -613,10 +613,10 @@ static void fr_timer(struct timer_list *t)
613
613
fr_set_link_state (reliable , dev );
614
614
}
615
615
616
- if (state (hdlc )-> settings .dce )
616
+ if (state (hdlc )-> settings .dce ) {
617
617
state (hdlc )-> timer .expires = jiffies +
618
618
state (hdlc )-> settings .t392 * HZ ;
619
- else {
619
+ } else {
620
620
if (state (hdlc )-> n391cnt )
621
621
state (hdlc )-> n391cnt -- ;
622
622
@@ -671,8 +671,9 @@ static int fr_lmi_recv(struct net_device *dev, struct sk_buff *skb)
671
671
return 1 ;
672
672
}
673
673
i = 7 ;
674
- } else
674
+ } else {
675
675
i = 6 ;
676
+ }
676
677
677
678
if (skb -> data [i ] != (lmi == LMI_CCITT ? LMI_CCITT_REPTYPE :
678
679
LMI_ANSI_CISCO_REPTYPE )) {
@@ -1013,8 +1014,9 @@ static void fr_start(struct net_device *dev)
1013
1014
/* First poll after 1 s */
1014
1015
state (hdlc )-> timer .expires = jiffies + HZ ;
1015
1016
add_timer (& state (hdlc )-> timer );
1016
- } else
1017
+ } else {
1017
1018
fr_set_link_state (1 , dev );
1019
+ }
1018
1020
}
1019
1021
1020
1022
static void fr_stop (struct net_device * dev )
You can’t perform that action at this time.
0 commit comments