qlge: fix an "&&" vs "||" bug
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Jul 2012 04:47:03 +0000 (04:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2012 16:40:53 +0000 (09:40 -0700)
commit7be7e93268447cbb42fa0e6939b6372c156a1ad5
treeb1ae35eb3cf1c6fd798eee95824df6d5a2a0d44f
parent6ecd09dd35fd07b8f2f6f5210ecffd4cc5ac0581
qlge: fix an "&&" vs "||" bug

The condition is always true so WOL will never work.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlge/qlge_ethtool.c