]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Respect local MITM req in io_cap reply
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Thu, 28 Apr 2011 10:07:58 +0000 (12:07 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 28 Apr 2011 18:03:50 +0000 (15:03 -0300)
commite6c81d4300b78a834a6a28f896e30fb507c7e01a
tree9321f9e71c1e34436ce475b04729e937c11320ba
parent1c90e61754ab34c919c3eb8f0dc235ebf83a5aec
Bluetooth: Respect local MITM req in io_cap reply

If host requires MITM protection notify that to controller in
io capabilities reply even if the remote device requires no bonding.

If it is not respected, host can get an unauthenticated link key while
it expects authenticated one.

Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c