s390/3270: redraw screen on unsolicited device end
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 19 Aug 2015 14:50:10 +0000 (16:50 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 3 Dec 2015 03:59:03 +0000 (22:59 -0500)
commit39a86be1c6616d5a273ca08c99c8cb885865df07
treeff2b668812f0671748e48f926872e3750a83b177
parent465760c5415994f582b155059a1450f9e059cffd
s390/3270: redraw screen on unsolicited device end

[ Upstream commit 05bfd70bcdd3cd12c061cb77b73a11ba6f87379d ]

If a 3270 terminal is disconnected and later reconnected again,
it gets an unsolicited device end. This is currently ignored and
you have to hit the clear key to get the screen redrawn.
Add an automatic full redraw of the screen for this case.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/s390/char/con3270.c
drivers/s390/char/tty3270.c