]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4_en: fix WOL handlers were always looking at port2 capability bit
authorJoe Jin <joe.jin@oracle.com>
Thu, 15 Dec 2011 01:37:32 +0000 (09:37 +0800)
committerJoe Jin <joe.jin@oracle.com>
Thu, 15 Dec 2011 01:37:32 +0000 (09:37 +0800)
commitc41c6dd4a73495c630eed32ca759b1e10c683057
tree021772b467f7a07d829b4aee5496f258a9916053
parent11d234a0c511194c2eb48fd06ceab8bc935885fb
mlx4_en: fix WOL handlers were always looking at port2 capability bit

commit 559a9f1d354b577af28f84181751820ff7d29feb
Author: Oren Duer <oren@mellanox.co.il>
Date:   Sat Nov 26 19:55:15 2011 +0000

    net/mlx4_en: fix WOL handlers were always looking at port2 capability bit

    There are 2 capability bits for WOL, one for each port.
    WOL handlers were looking only on the second bit, regardless of the port.

Signed-off-by: Oren Duer <oren@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/mlx4/en_ethtool.c
include/linux/mlx4/device.h