diff options
Diffstat (limited to 'hw/bt-hci-csr.c')
-rw-r--r-- | hw/bt-hci-csr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bt-hci-csr.c b/hw/bt-hci-csr.c index 7300ea6799..982577d1bb 100644 --- a/hw/bt-hci-csr.c +++ b/hw/bt-hci-csr.c @@ -226,7 +226,7 @@ static void csrhci_in_packet(struct csrhci_s *s, uint8_t *pkt) *rpkt ++ = 0x20; /* Operational settings negotation Ok */ memcpy(rpkt, pkt, 7); rpkt += 7; *rpkt ++ = 0xff; - *rpkt ++ = 0xff; + *rpkt = 0xff; break; case H4_ALIVE_PKT: @@ -238,7 +238,7 @@ static void csrhci_in_packet(struct csrhci_s *s, uint8_t *pkt) rpkt = csrhci_out_packet_csr(s, H4_ALIVE_PKT, 2); *rpkt ++ = 0xcc; - *rpkt ++ = 0x00; + *rpkt = 0x00; break; default: |