Bluetooth: Use hdev->init/resp_addr values for smp_c1 function
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 28 Feb 2014 10:54:17 +0000 (12:54 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 28 Feb 2014 15:53:08 +0000 (07:53 -0800)
commitb1cd5fd937e692276ac6c085684afb16a4e6e798
treebc953a7e35923e614510ddebbe08a6ec76e3120f
parentcb1d68f7a337142e283ef7fc78793a57ffb4cdc3
Bluetooth: Use hdev->init/resp_addr values for smp_c1 function

Now that we have nicely tracked values of the initiator and responder
address information we can pass that directly to the smp_c1 function
without worrying e.g. about who initiated the connection. This patch
updates the two places in smp.c to use the new variables.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c