Revert "mux: fix ctrl-a b again"
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 17 Apr 2018 20:11:30 +0000 (21:11 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 17 Apr 2018 20:11:30 +0000 (21:11 +0100)
This reverts commit 1b2503fcf7b5932c5a3779ca2ceb92bd403c4ee7.

Unfortunately this fix regresses console handling on MIPS Malta;
since the mux ctrl-a b bug is not a regression since 2.11, we
take the conservative approach and just drop it from 2.12.

Reported-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
chardev/char-mux.c

index 6055e76293fb49aff4ec81bf068ba0e776488230..1b925c8dec017bd647464b33672f0c355dfa2579 100644 (file)
@@ -304,7 +304,6 @@ void mux_set_focus(Chardev *chr, int focus)
     }
 
     d->focus = focus;
-    chr->be = d->backends[focus];
     mux_chr_send_event(d, d->focus, CHR_EVENT_MUX_IN);
 }