projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WAN]: Added missing netif_dormant_off() to generic HDLC
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
wan
/
hdlc_raw_eth.c
diff --git
a/drivers/net/wan/hdlc_raw_eth.c
b/drivers/net/wan/hdlc_raw_eth.c
index b1285cc8fee6cf8d91d337ec30cd722dcde0c852..d1884987f94e08efbf06cc41ec68785b29a6a332 100644
(file)
--- a/
drivers/net/wan/hdlc_raw_eth.c
+++ b/
drivers/net/wan/hdlc_raw_eth.c
@@
-100,6
+100,7
@@
int hdlc_raw_eth_ioctl(struct net_device *dev, struct ifreq *ifr)
dev->tx_queue_len = old_qlen;
memcpy(dev->dev_addr, "\x00\x01", 2);
get_random_bytes(dev->dev_addr + 2, ETH_ALEN - 2);
+ netif_dormant_off(dev);
return 0;
}