]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Fix SMP pairing method selection
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 6 Jun 2012 10:54:15 +0000 (18:54 +0800)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 8 Jun 2012 04:50:15 +0000 (01:50 -0300)
commit476585ecf08067ac4e81d1a4cb19e2caf2093471
treec018ab3d6ee2f2a480783c4cb404e50cf200bcf5
parentddcd0f41471a1e0394c8840a119ec3986a78462c
Bluetooth: Fix SMP pairing method selection

The tk_request function takes the local IO capability as the second last
parameter and the remote IO capability as the last parameter. They were
previously swapped: when we receive a pairing response
req->io_capability contains the local one and rsp->io_capability the
remote one.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/smp.c