]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/3270: handle reconnect of a tty with a different size
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 2 May 2016 13:07:00 +0000 (15:07 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 10 May 2016 11:24:46 +0000 (13:24 +0200)
commit7e36eff1eece29eaa37501806ded0e0fb88e61ee
tree699b58fdaa61cfbc76d8c8482a4cdc395efe8ffd
parent8340ab60b3624386eaa24fa21bdb4e6775066ccf
s390/3270: handle reconnect of a tty with a different size

If an existing 3270 terminal disconnects and reconnects with a
different size, the 3270 driver still works with the old size.
If the new dimensions are larger the output merely looks funny,
if the new dimensions are smaller the terminal is unusable.

To fix this restart the size detection after a unit check has
been received.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/raw3270.c
drivers/s390/char/tty3270.c