> > 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