aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp/ppp_generic.c
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.vnet.ibm.com>2015-12-11 12:27:55 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-14 16:16:45 -0500
commite5ebe63214d44d4dcf43df02edf3613e04d671b9 (patch)
tree8b78cee295a1057c83523751fefbbff24ce36ede /drivers/net/ppp/ppp_generic.c
parentqeth use common function qeth_get_setassparms_cmd (diff)
downloadlinux-dev-e5ebe63214d44d4dcf43df02edf3613e04d671b9.tar.xz
linux-dev-e5ebe63214d44d4dcf43df02edf3613e04d671b9.zip
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: Ursula Braun <ubraun@linux.vnet.ibm.com> Acked-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Reference-ID: Bugzilla 133209 Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp/ppp_generic.c')
0 files changed, 0 insertions, 0 deletions