From fc990759fb87cf58fb16825cc156784409ca54ea Mon Sep 17 00:00:00 2001 From: Shibby Date: Mon, 28 Sep 2015 10:50:00 +0200 Subject: [PATCH] huawei_ether: write connection status info to log --- release/src-rt/linux/linux-2.6/drivers/net/usb/huawei_ether.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/release/src-rt/linux/linux-2.6/drivers/net/usb/huawei_ether.c b/release/src-rt/linux/linux-2.6/drivers/net/usb/huawei_ether.c index 23ab4a9d2a..1f4d3c747c 100644 --- a/release/src-rt/linux/linux-2.6/drivers/net/usb/huawei_ether.c +++ b/release/src-rt/linux/linux-2.6/drivers/net/usb/huawei_ether.c @@ -3356,10 +3356,12 @@ static int hw_cdc_ioctl (struct usb_interface *intf, unsigned int code, if (0x02 == pbuf[16]){ if (hwnet){ netif_carrier_on(hwnet->net); + devinfo(dev, "CDC: network connection: connected\n"); } }else{ if (hwnet){ netif_carrier_off(hwnet->net); + devinfo(dev, "CDC: network connection: disconnected\n"); } } } -- 2.11.4.GIT