]> git.openfabrics.org - ~emulex/infiniband.git/commit
Bluetooth: Fix incorrect pending cmd removal in pairing_complete()
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 11 Dec 2014 19:45:45 +0000 (21:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 11 Dec 2014 19:57:38 +0000 (20:57 +0100)
commita511b35ba4f02cca526c7239723c48445a8b127d
treea5e333d603838860fdaee0eb3925594b38f3a05d
parent15013aeb63fb4df7ff809d63246c8398e9703736
Bluetooth: Fix incorrect pending cmd removal in pairing_complete()

The pairing_complete() function is used as a pending mgmt command
cmd_complete callback. The expectation of such functions is that they
are not responsible themselves for calling mgmt_pending_remove(). This
patch fixes the incorrect mgmt_pending_remove() call in
pairing_complete() and adds it to the appropriate changes.

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