mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-25 11:01:52 -06:00
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>
This commit is contained in:
parent
c5c7d3f0a7
commit
f7253270fc
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ static void bt_host_read(void *opaque)
|
||||||
pktlen = MIN(pkt[2] + 3, s->len);
|
pktlen = MIN(pkt[2] + 3, s->len);
|
||||||
s->len -= pktlen;
|
s->len -= pktlen;
|
||||||
pkt += pktlen;
|
pkt += pktlen;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
bad_pkt:
|
bad_pkt:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue