s390/fs3270: fix screen reset on activate
authorSven Schnelle <svens@linux.ibm.com>
Mon, 5 Dec 2022 11:32:02 +0000 (12:32 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:34:05 +0000 (14:34 +0100)
commita554dbd740bd45247a7b9617760f1c7e1b26ebfc
tree45abee0f70308139f4d1dfa3d030f62509408dff
parentec40213bfbe41a73f8b9b96643c66edb0cbeb064
s390/fs3270: fix screen reset on activate

fs3270 uses EWRITEA to clear the screen when a user opens /dev/3270/tub.
However it misses the attribute byte after the EWRITEA, so (at least)
x3270 complains about 'Record too short, missing write flags'.
Add the missing flag byte to fix this.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/fs3270.c