android_kernel_oneplus_msm8998/drivers/s390/net
Ursula Braun 2b2c611c80 qeth: initialize net_device with carrier off
[ Upstream commit e5ebe63214d44d4dcf43df02edf3613e04d671b9 ]

/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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-15 08:27:42 +02:00
..
ctcm_dbug.c s390/s390dbf: use debug_level_enabled() where applicable 2013-10-24 17:16:54 +02:00
ctcm_dbug.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_fsms.c s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
ctcm_fsms.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_main.c s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
ctcm_main.h s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
ctcm_mpc.c s390: remove 31 bit support 2015-03-25 11:49:33 +01:00
ctcm_mpc.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_sysfs.c s390/ctcm, netiucv: migrate variables to handle y2038 problem 2015-01-17 23:54:59 -05:00
fsm.c
fsm.h
Kconfig s390: remove claw driver 2015-02-28 23:38:29 -05:00
lcs.c s390/lcs: Fix null-pointer access in msg 2015-05-18 12:14:18 -04:00
lcs.h s390/s390dbf: use debug_level_enabled() where applicable 2013-10-24 17:16:54 +02:00
Makefile s390: remove claw driver 2015-02-28 23:38:29 -05:00
netiucv.c s390/iucv: do not use arrays as argument 2015-09-21 16:03:04 -07:00
qeth_core.h s390/qeth: optimize MAC handling in rx_mode callback 2015-10-07 04:52:04 -07:00
qeth_core_main.c qeth: add layer 2 RX/TX checksum offloading 2015-09-21 16:03:04 -07:00
qeth_core_mpc.c qeth: OSA version of SETBRIDGEPORT command 2015-05-18 12:14:17 -04:00
qeth_core_mpc.h qeth: OSA version of SETBRIDGEPORT command 2015-05-18 12:14:17 -04:00
qeth_core_sys.c qeth: move OSA portname into deprecated status 2015-09-21 16:03:04 -07:00
qeth_l2.h qeth: bridgeport support - basic control 2014-01-15 14:48:01 -08:00
qeth_l2_main.c qeth: initialize net_device with carrier off 2016-09-15 08:27:42 +02:00
qeth_l2_sys.c qeth: no write permission for readonly sysattr 2015-09-21 16:03:04 -07:00
qeth_l3.h qeth: make local functions static in qeth_l3 module 2014-10-26 22:21:39 -04:00
qeth_l3_main.c qeth: initialize net_device with carrier off 2016-09-15 08:27:42 +02:00
qeth_l3_sys.c qeth: sysfs: replace strcmp() with sysfs_streq() 2015-01-17 23:55:00 -05:00
smsgiucv.c s390/iucv: do not use arrays as argument 2015-09-21 16:03:04 -07:00
smsgiucv.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
smsgiucv_app.c Driver core: driver_find() drops reference before returning 2012-01-24 16:00:34 -08:00