diff options
| author | Johan Hedberg <[email protected]> | 2014-06-24 13:15:49 +0300 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2014-07-03 17:42:45 +0200 |
| commit | 7652ff6aeaf0eeaec1f2e7e2f3ce0e588447dbd1 (patch) | |
| tree | 6e21e9d9386f1763d4e604e43e5fe08e3595d01d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 567fa2aa3dfad9848c25a226927a4ca5f94229ac (diff) | |
Bluetooth: Move mgmt event sending out from hci_add_link_key()
There are two callers of hci_add_link_key(). The first one is the HCI
Link Key Notification event and the second one the mgmt code that
receives a list of link keys from user space. Previously we've had the
hci_add_link_key() function being responsible for also emitting a mgmt
signal but for the latter use case this should not happen. Because of
this a rather awkward new_key paramter has been passed to the function.
This patch moves the mgmt event sending out from the hci_add_link_key()
function, thereby making the code a bit more understandable.
Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions