Message ID | 1622553802-19903-8-git-send-email-huangguangbin2@huawei.com |
---|---|
State | New |
Headers | show |
Series | net: hdlc: clean up some code style issues | expand |
diff --git a/drivers/net/wan/hdlc.c b/drivers/net/wan/hdlc.c index f48d70e..dd6312b 100644 --- a/drivers/net/wan/hdlc.c +++ b/drivers/net/wan/hdlc.c @@ -163,8 +163,9 @@ int hdlc_open(struct net_device *dev) if (hdlc->carrier) { netdev_info(dev, "Carrier detected\n"); hdlc_proto_start(dev); - } else + } else { netdev_info(dev, "No carrier\n"); + } hdlc->open = 1;