Skip to content
Commit 7959ea25 authored by Ooiwa Naohiro's avatar Ooiwa Naohiro Committed by David S. Miller
Browse files

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: default avatarOoiwa Naohiro <nooiwa@miraclelinux.com>
Acked-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0f77ca92
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment