]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix SM pairing parameters negotiation
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Thu, 7 Jul 2011 21:59:38 +0000 (18:59 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Fri, 8 Jul 2011 20:37:02 +0000 (17:37 -0300)
commitc53e0c27e08922a42c89b6b1393a6a8d3bfaba65
treecf980caec48ba49e4c9681149d51e6beac0916d6
parent1a5ba851080cfc271dd94fd8105a83355e911677
Bluetooth: Fix SM pairing parameters negotiation

Before implementing SM key distribution, the pairing features
exchange must be better negotiated, taking into account some
features of the host and connection requirements.

If we are in the "not pairable" state, it makes no sense to
exchange any key. This allows for simplification of the key
negociation method.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/smp.c