Messages in this thread | | | Date | Fri, 20 Oct 2023 23:41:09 +0200 | From | Andrew Lunn <> | Subject | Re: [PATCH net-next v6 5/9] net: dsa: microchip: ksz9477: Add Wake on Magic Packet support |
| |
> > Ah, yes, it is from get_wol(). Maybe a ksz_switch_macaddr_tryget(ds, port) > > which returns bool (true if dev->switch_macaddr is NULL, or if non-NULL > > and ether_addr_equal(dev->switch_macaddr->addr, port addr))? > > Ack, something like this. > I'll send new version later.
And maybe add a comment. Seems like everybody got it wrong what is going on here. Maybe i should not of suggested it :-)
Andrew
| |