Hi Ravi, On Tue, Nov 12, 2013, Ravi kumar Veeramally wrote: > Incase of G_IO_HUP on GIOCondtion when hid device disconnected, > GIOCondition is combination of G_IO_IN and G_IO_HUP. Current code > tries to read as soon as it finds G_IO_IN in condition. > Apparently there is no data to read and loop continues. > --- > android/hidhost.c | 21 ++++++++++++--------- > 1 file changed, 12 insertions(+), 9 deletions(-) Applied. Thanks. 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