mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/sam0_common: ethernet: fix RX detection
Detect RX of frame also when other bits of RSR are set. fixes #16298
This commit is contained in:
parent
c0c3a76fb8
commit
3f0459288c
@ -151,7 +151,7 @@ void isr_gmac(void)
|
||||
tsr = GMAC->TSR.reg;
|
||||
rsr = GMAC->RSR.reg;
|
||||
|
||||
if (rsr == GMAC_RSR_REC) {
|
||||
if (rsr & GMAC_RSR_REC) {
|
||||
netdev_trigger_event_isr(_sam0_eth_dev.netdev);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user