Searched refs:cur_wol (Results 1 - 1 of 1) sorted by relevance

/linux-master/net/ethtool/
H A Dioctl.c1482 struct ethtool_wolinfo wol, cur_wol; local
1488 memset(&cur_wol, 0, sizeof(struct ethtool_wolinfo));
1489 cur_wol.cmd = ETHTOOL_GWOL;
1490 dev->ethtool_ops->get_wol(dev, &cur_wol);
1495 if (wol.wolopts & ~cur_wol.supported)
1498 if (wol.wolopts == cur_wol.wolopts &&
1499 !memcmp(wol.sopass, cur_wol.sopass, sizeof(wol.sopass)))

Completed in 131 milliseconds