mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-10-12 08:23:42 +00:00
Fixed missing netif->ts init.
This commit is contained in:
parent
a062919acd
commit
a40ebbcac3
@ -760,6 +760,7 @@ err_t cs8900if_init(struct netif *netif)
|
|||||||
/* ifType ethernetCsmacd(6) */
|
/* ifType ethernetCsmacd(6) */
|
||||||
netif->link_type = 6;
|
netif->link_type = 6;
|
||||||
netif->link_speed = 10000000;
|
netif->link_speed = 10000000;
|
||||||
|
netif->ts = 0;
|
||||||
netif->ifinoctets = 0;
|
netif->ifinoctets = 0;
|
||||||
netif->ifinucastpkts = 0;
|
netif->ifinucastpkts = 0;
|
||||||
netif->ifinnucastpkts = 0;
|
netif->ifinnucastpkts = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user