diff options
author | 2014-12-05 13:36:04 +0200 | |
---|---|---|
committer | 2014-12-05 12:46:10 +0100 | |
commit | 04ab2749ea96a79f5eba3ca26d46f4283b5509a6 (patch) | |
tree | d2ada19014b6c2468cc1fa41c0e67593e3adb324 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Bluetooth: Use cmd_complete callback for authentication mgmt commands (diff) | |
download | linux-dev-04ab2749ea96a79f5eba3ca26d46f4283b5509a6.tar.xz linux-dev-04ab2749ea96a79f5eba3ca26d46f4283b5509a6.zip |
Bluetooth: Convert Pair Device to use cmd_complete callback
This patch converts the Pair Device mgmt command to use the new
cmd_complete callback for pending mgmt commands. The already existing
pairing_complete() function is exactly what's needed and doesn't need
changing.
In addition to getting the return parameters always right this patch
actually fixes a reference counting bug and memory leak with the
hci_conn that's attached to the pending mgmt command - something that
would occur when powering off or unplugging the adapter while pairing is
in progress.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions