bnx2: Fix the behavior of ethtool when ONBOOT=no
authorOoiwa Naohiro <nooiwa@miraclelinux.com>
Wed, 24 Jun 2009 07:19:06 +0000 (00:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2009 07:19:06 +0000 (00:19 -0700)
commit7959ea254ed18faee41160b1c50b3c9664735967
treea623d403c00259f3ad3eb56e7b627176478dde55
parent0f77ca928b5d1ea17afc7a95682b6534611a719c
bnx2: Fix the behavior of ethtool when ONBOOT=no

I found a little bug.

When configure in ifcfg-eth* is ONBOOT=no,
the behavior of ethtool command is wrong.

    # grep ONBOOT /etc/sysconfig/network-scripts/ifcfg-eth2
    ONBOOT=no
    # ethtool eth2 | tail -n1
            Link detected: yes

I think "Link detected" should be "no".

Signed-off-by: Ooiwa Naohiro <nooiwa@miraclelinux.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c