Hi Lukasz, On Wed, Aug 13, 2014, Lukasz Rymanowski wrote: > +static void not_receive_mode(int sk) { > + > + syslog(LOG_INFO, "Connected and not receiving !"); > + while (1) {}; > +} A busy-loop taking up all CPU time doesn't seem very nice. Shouldn't you instead be at least polling for HUP/ERR events? That's what the do_listen function seems to expect to have happened when the handler returns. 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