Bluetooth: Update smp_random to return a response code
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 20 May 2014 06:45:51 +0000 (09:45 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 20 May 2014 15:44:14 +0000 (08:44 -0700)
commit861580a970f1abe64193636eab9e5a1a7556a555
tree401d745a4388d5e84edc0ded17857c084a88ab53
parent4a74d65868f10dafe38765d4fe5bbf1e75f0623d
Bluetooth: Update smp_random to return a response code

Since we're now calling smp_random() "inline" we can have it directly
return a response code and have the shared command handler send the
response.

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