Bluetooth: Simplify address parameters of user_pairing_resp()
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Mar 2013 22:07:15 +0000 (17:07 -0500)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 18 Mar 2013 18:36:04 +0000 (15:36 -0300)
commit1707c60e5d0d4c82c0601d92f10e24e04d2cc599
treeea02904b2387322be5709c6bae7e977fae22aee4
parent4c01f8b845238710ff4b6c7fa8148ca52613f199
Bluetooth: Simplify address parameters of user_pairing_resp()

Instead of passing the bdaddr and bdaddr_type as separate parameters to
user_pairing_resp it's simpler to just pass the original mgmt_addr_info
struct which contains both values.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c