mirror of https://github.com/ARMmbed/mbed-os.git
Removed check since the interface is not fully up yet so we can't block DHCP/ARP
parent
f122695fd3
commit
8af75511ca
|
|
@ -35,12 +35,7 @@ static err_t emac_lwip_low_level_output(struct netif *netif, struct pbuf *p)
|
|||
|
||||
static err_t emac_lwip_output(struct netif *netif, struct pbuf *q, ip_addr_t *ipaddr)
|
||||
{
|
||||
/* Only send packets if the link is up */
|
||||
if (netif->flags & NETIF_FLAG_UP) {
|
||||
return etharp_output(netif, q, ipaddr);
|
||||
}
|
||||
|
||||
return ERR_CONN;
|
||||
}
|
||||
|
||||
static void emac_lwip_input(void *data, emac_stack_t *buf)
|
||||
|
|
|
|||
Loading…
Reference in New Issue