From 6f660996f1623034344cc37a1d430099067b755b Mon Sep 17 00:00:00 2001
From: Peter Maydell <peter.maydell@linaro.org>
Date: Tue, 17 Apr 2018 21:11:30 +0100
Subject: [PATCH] Revert "mux: fix ctrl-a b again"
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

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 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/chardev/char-mux.c b/chardev/char-mux.c
index 6055e76293..1b925c8dec 100644
--- a/chardev/char-mux.c
+++ b/chardev/char-mux.c
@@ -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);
 }
 
-- 
2.30.2