Bluetooth: mgmt: Fix address type while loading Long Term Key
authorHemant Gupta <hemant.gupta@stericsson.com>
Mon, 16 Apr 2012 09:27:40 +0000 (14:57 +0530)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 04:40:33 +0000 (01:40 -0300)
commit4596fde5401679f062336c6dbad8d9e4043858c2
treea408855aa0479f8af5b5862573d7175d69c0a800
parent0c01bc486a6f5f397732f808ecbcd63665c605d8
Bluetooth: mgmt: Fix address type while loading Long Term Key

This patch fixes the address type while loading long term keys when BT is
switched on. Without this fix pairing is reinitated even though LTK
exists for remote device because of mismatch of address type.

Signed-off-by: Hemant Gupta <hemant.gupta@stericsson.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c