Hi Jakub, On Mon, Mar 16, 2015, Jakub Pawlowski wrote: > +static bool trigger_le_scan(struct hci_request *req, __le16 interval, > + u8 *status) Minor thing here: 'interval' should be u16 and the conversion done inside the function. It's only for raw protocol PDU data that we use the explicit-endian types. > + param_cp.interval = interval; And here you'd then do param_cp.interval = cpu_to_le16(interval); Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html