From: Johan Hedberg Date: Wed, 6 Jun 2012 10:54:15 +0000 (+0800) Subject: Bluetooth: Fix SMP pairing method selection X-Git-Tag: v3.5-rc5~17^2~34^2~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=476585ecf08067ac4e81d1a4cb19e2caf2093471;p=pandora-kernel.git 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 Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed