Hi Grzegorz, On Wednesday 02 of April 2014 13:36:57 Grzegorz Kolodziejczyk wrote: > This fix wrong notification length passing to ipc. > --- > android/gatt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/android/gatt.c b/android/gatt.c > index 8bd7028..5069f98 100644 > --- a/android/gatt.c > +++ b/android/gatt.c > @@ -604,7 +604,7 @@ static void le_device_found_handler(const bdaddr_t *addr, uint8_t addr_type, > > ipc_send_notif(hal_ipc, HAL_SERVICE_ID_GATT, > HAL_EV_GATT_CLIENT_SCAN_RESULT, > - sizeof(ev) + ev->len, ev); > + sizeof(*ev) + ev->len, ev); > > connect: > if (!is_device_wating_for_connect(addr, addr_type)) > Patch applied, thanks. I've also fixed missing length checks on HAL side. -- Best regards, Szymon Janc -- 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