Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13fba9e6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "bluetooth: Type cast the received data before parsing"

parents 5bab052b 08d0c03f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -792,7 +792,7 @@ static int ibs_recv(struct hci_uart *hu, void *data, int count)
		}

		/* HCI_IBS_W4_PACKET_TYPE */
		switch (*ptr) {
		switch ((unsigned char) *ptr) {
		case HCI_EVENT_PKT:
			BT_DBG("Event packet");
			ibs->rx_state = HCI_IBS_W4_EVENT_HDR;