esp_netif: include tcpip_adapter legacy header by default to provide *implicit* compatiblity

This commit is contained in:
David Cermak
2019-09-13 15:44:23 +02:00
parent 3f60837de2
commit cf710a3cb1
19 changed files with 47 additions and 89 deletions

View File

@@ -120,10 +120,6 @@ low_level_output(struct netif *netif, struct pbuf *p)
if (esp_netif == NULL) {
return ERR_IF;
}
esp_netif_type_t type = esp_netif_get_type(esp_netif);
if (type != ESP_NETIF_TYPE_STA && type != ESP_NETIF_TYPE_AP) {
return ERR_IF;
}
struct pbuf *q = p;
err_t ret;