]> 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)
commitee112cf64794d8f03929c3203326e136f47e818a
tree6ff9b96afc5c92cbabdbf1e5dccc062ffa226113
parentb5e018edf4e23523b4fb336d2162d2cb49ec74b2
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