Hi Luiz, > Cleanup version, which include code style fixing suggested by Johan on irc. > > There are 2 other things that comes to my mind that need discussing: > > - 20 sec timeout is perhaps too big > - clear the timer on rfcomm_session_close is perhaps not save then we > can move it to rfcomm_session_del what about just triggering the timer and then sending DISC for DLCI 0. I don't see a big benefit for this reference counting overhead. When we send the DISC, we will receive UA and thus get the required rfcomm_session_put() that then leads to the ACL disconnect. Regards Marcel -- 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