Hi Gustavo, On 21:14 Wed 06 Apr, Gustavo F. Padovan wrote: > * Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxxxxxx> [2011-04-05 22:51:55 -0300]: > > > This patch adds support for disconnecting the link when SMP procedure > > takes more than 30 seconds. > > As this is a SMP procedure, doesn't make more sense put this timer in SMP > code? It does not fit quite well to me in l2cap. The only reason is that SMP code isn't able to tell that the pairing finished or not. We only can tell that the pairing finished when we receive the Encryption Changed HCI event or the connection is terminated. And I don't think that SMP code has to be informed of any of these conditions. > > -- > Gustavo F. Padovan > http://profusion.mobi Cheers, -- Vinicius -- 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