Skip to content
Commit e5ebe632 authored by Ursula Braun's avatar Ursula Braun Committed by David S. Miller
Browse files

qeth: initialize net_device with carrier off



/sys/class/net/<interface>/operstate for an active qeth network
interface offen shows "unknown", which translates to "state UNKNOWN
in output of "ip link show". It is caused by a missing initialization
of the __LINK_STATE_NOCARRIER bit in the net_device state field.
This patch adds a netif_carrier_off() invocation when creating the
net_device for a qeth device.

Signed-off-by: default avatarUrsula Braun <ubraun@linux.vnet.ibm.com>
Acked-by: default avatarHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Reference-ID: Bugzilla 133209
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b475e316
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