runloop: fix compile in hci_transport_h4_ehcill_embedded

This commit is contained in:
Matthias Ringwald 2016-03-24 22:49:36 +01:00
parent 9120e843c2
commit c8db4fb6b1

View File

@ -409,13 +409,11 @@ static void h4_process(btstack_data_source_t *ds, btstack_data_source_callback_t
packet_handler(HCI_EVENT_PACKET, &event[0], sizeof(event));
}
if (h4_state != H4_PACKET_RECEIVED) return 0;
if (h4_state != H4_PACKET_RECEIVED) return;
packet_handler(hci_packet[0], &hci_packet[1], read_pos-1);
h4_rx_init_sm();
return 0;
}
//////////////////////////