android_kernel_oneplus_msm8998/drivers/s390
Julian Wiedmann a4b8132c86 s390/qeth: reset layer2 attribute on layer switch
[ Upstream commit 70551dc46ffa3555a0b5f3545b0cd87ab67fd002 ]

After the subdriver's remove() routine has completed, the card's layer
mode is undetermined again. Reflect this in the layer2 field.

If qeth_dev_layer2_store() hits an error after remove() was called, the
card _always_ requires a setup(), even if the previous layer mode is
requested again.
But qeth_dev_layer2_store() bails out early if the requested layer mode
still matches the current one. So unless we reset the layer2 field,
re-probing the card back to its previous mode is currently not possible.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-26 08:35:06 +02:00
..
block s390/dasd: fix hanging offline processing due to canceled worker 2018-09-15 09:40:39 +02:00
char s390: introduce execute-trampolines for branches 2018-04-29 07:50:03 +02:00
cio s390/qdio: reset old sbal_state flags 2018-09-05 09:18:40 +02:00
crypto s390/zcrypt: Introduce CEX6 toleration 2017-03-30 09:35:20 +02:00
net s390/qeth: reset layer2 attribute on layer switch 2018-09-26 08:35:06 +02:00
scsi scsi: zfcp: fix missing REC trigger trace on enqueue without ERP thread 2018-07-03 11:21:31 +02:00
virtio virtio/s390: handle error values in irb 2015-12-17 10:37:33 +02:00
Makefile