linux-imx/include/linux/mlx4
Inbar Karmy 967d0125c4 net/mlx4_en: Fix wrong indication of Wake-on-LAN (WoL) support
commit c994f778bb upstream.

Currently when WoL is supported but disabled, ethtool reports:
"Supports Wake-on: d".
Fix the indication of Wol support, so that the indication
remains "g" all the time if the NIC supports WoL.

Tested:
As accepted, when NIC supports WoL- ethtool reports:
	Supports Wake-on: g
	Wake-on: d
when NIC doesn't support WoL- ethtool reports:
        Supports Wake-on: d
        Wake-on: d

Fixes: 14c07b1358 ("mlx4: Wake on LAN support")
Signed-off-by: Inbar Karmy <inbark@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2017-11-11 13:34:28 +00:00
..
cmd.h mlx4_core: Add network flow counters 2011-07-18 21:04:34 -07:00
cq.h
device.h net/mlx4_en: Fix wrong indication of Wake-on-LAN (WoL) support 2017-11-11 13:34:28 +00:00
doorbell.h
driver.h IB/mlx4: Handle protocol field in multicast table 2011-01-12 14:49:17 -08:00
qp.h IB/mlx4: Add support for XRC QPs 2011-10-13 09:44:18 -07:00
srq.h