diff options
author | 2014-03-14 10:07:44 +0100 | |
---|---|---|
committer | 2014-03-14 22:38:54 -0400 | |
commit | 32fc3fd41ae44a41ffb8fd5ec4f4764822104655 (patch) | |
tree | 5ffde54cb5f9c23de3b81f8afd37aec09885c248 /drivers/net/ethernet/atheros | |
parent | MAINTAINERS: Add linux.nics@intel.com to INTEL ETHERNET DRIVERS (diff) | |
download | linux-dev-32fc3fd41ae44a41ffb8fd5ec4f4764822104655.tar.xz linux-dev-32fc3fd41ae44a41ffb8fd5ec4f4764822104655.zip |
net: phy: fix uninitalized ethtool_wolinfo in phy_suspend
Callers of phy_ethtool_get_wol are supposed to provide a properly
cleared struct ethtool_wolinfo. Therefore, fix phy_suspend to clear
it before passing it to phy_ethtool_get_wol.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Reviewed-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros')
0 files changed, 0 insertions, 0 deletions