diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-01-12 14:17:04 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-01-13 10:37:00 +0000 |
commit | f7253270fc66a60e4faf639a3c4ce0b352553b24 (patch) | |
tree | 5efdf955b208a76b402fdbad1938e12214fbbb52 /bt-host.c | |
parent | c5c7d3f0a79a977955e9df436cf9ca17269b8783 (diff) | |
download | qemu-f7253270fc66a60e4faf639a3c4ce0b352553b24.zip qemu-f7253270fc66a60e4faf639a3c4ce0b352553b24.tar.gz qemu-f7253270fc66a60e4faf639a3c4ce0b352553b24.tar.bz2 |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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: |