]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Update smp_confirm to return a response code
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 20 May 2014 06:45:52 +0000 (09:45 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 20 May 2014 15:44:14 +0000 (08:44 -0700)
commit7ff7997331b630656882e85f30d77f7f86f4ed9e
tree6ff9b96afc5c92cbabdbf1e5dccc062ffa226113
parent7f9f67ba89b6f54f866e38a05c2b474e35b3b74c
Bluetooth: Update smp_confirm to return a response code

Now that smp_confirm() is called "inline" we can have it return a
response code and have the sending of it be done in the shared place for
command handlers. One exception is when we're entering smp.c from mgmt.c
when user space responds to authentication, in which case we still need
our own code to call smp_failure().

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