Bluetooth: Fix connection key type updating for buggy controllers
authorJohan Hedberg <johan.hedberg@nokia.com>
Thu, 28 Apr 2011 18:29:01 +0000 (11:29 -0700)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 28 Apr 2011 19:14:41 +0000 (16:14 -0300)
commit655fe6ece7e71b37c17577ae485d11bf701c95f7
treeaa57a1796d17c5448d58aec884824d42ecc34468
parent12adcf3a953c3aa4006d855aa638133bf018ceac
Bluetooth: Fix connection key type updating for buggy controllers

If a controller generates a changed combination key as its first key the
connection key type will not be correctly set. In these situations make
sure the update the connection key type when such a buggy controller is
detected.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_core.c