aboutsummaryrefslogtreecommitdiff
path: root/bt-host.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-01-12 14:17:04 +0000
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-01-13 10:37:00 +0000
commitf7253270fc66a60e4faf639a3c4ce0b352553b24 (patch)
tree5efdf955b208a76b402fdbad1938e12214fbbb52 /bt-host.c
parentc5c7d3f0a79a977955e9df436cf9ca17269b8783 (diff)
downloadqemu-arm-f7253270fc66a60e4faf639a3c4ce0b352553b24.tar.gz
bt-host: add missing break statement
The switch statement in bt_host_read() is missing a break in one case. Andrzej Zaborowski <andrew.zaborowski@intel.com> confirmed that this is not an intentional fall-through. Reviewed-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'bt-host.c')
-rw-r--r--bt-host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bt-host.c b/bt-host.c
index df5b7cdace..0d3ad28e8c 100644
--- a/bt-host.c
+++ b/bt-host.c
@@ -130,6 +130,7 @@ static void bt_host_read(void *opaque)
pktlen = MIN(pkt[2] + 3, s->len);
s->len -= pktlen;
pkt += pktlen;
+ break;
default:
bad_pkt: