diff options
| author | Johan Hedberg <[email protected]> | 2013-03-15 17:06:59 -0500 |
|---|---|---|
| committer | Gustavo Padovan <[email protected]> | 2013-03-18 14:02:03 -0300 |
| commit | 35b973c9dd6d518491b251ac777d767d7820aa37 (patch) | |
| tree | c2142780fc8b1cd371953682aceabf5ede2ff555 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | f9f85279fd3a3284023231c7f0796f98c417e7cd (diff) | |
Bluetooth: Fix clearing flags on power off before notifying mgmt
When powering off the device the hdev->flags and hdev->dev_flags need to
be cleared before calling mgmt_powered(). If this is not done the
resulting events sent to user space may contain incorrect values.
Note that the HCI_AUTO_OFF flag accessed right after this is part of the
persistent flags, so it's unchanged by the hdev->dev_flags reset.
Signed-off-by: Johan Hedberg <[email protected]>
Acked-by: Marcel Holtmann <[email protected]>
Signed-off-by: Gustavo Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions