1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 22:32:44 +01:00
RIOT/pkg/lwip/contrib/netdev
Erik Ekman 04a2070faa pkg/lwip: Set netdev callback before driver init
Otherwise if the cable is connected at boot the immediate NETDEV_EVENT_ISR
event signaling connection will not trigger the isr, and the netdev will not
clear its pending event.

This explains why the connect/rx event clash seen in "esp32/eth: Don't
overwrite queued event with RX packet" (95196fb7e4) only happened
with lwIP.

Now on my ESP32 board with Ethernet the issue was the opposite (since IDF
upgrade), the stuck connected event blocked receive from working. After
this change 95196fb7e4 can be reverted since even early events are
consumed properly.
2022-09-03 14:07:02 +02:00
..
lwip_netdev.c pkg/lwip: Set netdev callback before driver init 2022-09-03 14:07:02 +02:00
Makefile netdev2: rename to netdev and remove gnrc_netdev 2017-03-15 09:31:20 +01:00