Hi Marcel, On Thu, Jun 12, 2014 at 12:08:29PM +0200, Marcel Holtmann wrote: > Hi Andrei, > > > android/gatt.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/android/gatt.c b/android/gatt.c > > index cc3746c..08da856 100644 > > --- a/android/gatt.c > > +++ b/android/gatt.c > > @@ -4133,7 +4133,7 @@ static void fill_gatt_response_by_handle(uint16_t handle, uint16_t offset, > > > > entry = queue_find(dev->pending_requests, match_dev_request_by_handle, > > UINT_TO_PTR(handle)); > > - if (entry) { > > + if (!entry) { > > DBG("No pending response found! Bogus android response?"); > > return; > > on a different note, if this is a case that is not suppose to happen and indicates a bug in Android Bluetooth service, we should at minimum print a warning here and not debug. Maybe even just print an error. > so change DGB() to error() ? Best regards Andrei Emeltchenko -- 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