diff --git a/uim.c b/uim.c index 6bde5ca..da79046 100644 --- a/uim.c +++ b/uim.c @@ -359,7 +359,7 @@ int st_uart_config(unsigned char install) /* Forming the packet for Change speed command */ cmd.uart_prefix = HCI_COMMAND_PKT; cmd.hci_hdr.opcode = HCI_HDR_OPCODE; - cmd.hci_hdr.plen = sizeof(unsigned long); + cmd.hci_hdr.plen = sizeof(uint32_t); cmd.speed = cust_baud_rate; /* Writing the change speed command to the UART