Searched refs:cur_wol (Results 1 – 1 of 1) sorted by relevance
1443 struct ethtool_wolinfo wol, cur_wol; in ethtool_set_wol() local1449 memset(&cur_wol, 0, sizeof(struct ethtool_wolinfo)); in ethtool_set_wol()1450 cur_wol.cmd = ETHTOOL_GWOL; in ethtool_set_wol()1451 dev->ethtool_ops->get_wol(dev, &cur_wol); in ethtool_set_wol()1456 if (wol.wolopts & ~cur_wol.supported) in ethtool_set_wol()1459 if (wol.wolopts == cur_wol.wolopts && in ethtool_set_wol()1460 !memcmp(wol.sopass, cur_wol.sopass, sizeof(wol.sopass))) in ethtool_set_wol()