]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
Bluetooth: Fix access to the STK generation methods matrix
authorIdo Yariv <ido@wizery.com>
Mon, 5 Mar 2012 18:07:08 +0000 (20:07 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 8 Mar 2012 05:25:00 +0000 (02:25 -0300)
commitb3ff53ff006b7906c88adf9d0fccc06a8877fae1
tree0cc76080325736697ce78f74c71c42daaa2dd94f
parente57d758ae8e8f00e80f233c823aeeef34bd92796
Bluetooth: Fix access to the STK generation methods matrix

The major index of the table is actually the remote I/O capabilities, not
the local ones. As a result, devices with different I/O capabilities
could have used wrong or even unsupported generation methods.

Signed-off-by: Ido Yariv <ido@wizery.com>
CC: Brian Gix <bgix@codeaurora.org>
Acked-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/smp.c