Johan Hedberg
35b973c9dd
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 <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
2013-03-18 14:02:03 -03:00
..
2013-02-27 19:10:24 -08:00
2013-02-11 14:16:26 -05:00
2013-02-18 14:53:08 -05:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-03-18 14:02:03 -03:00
2013-02-27 19:10:24 -08:00
2013-01-29 10:48:30 +01:00
2013-02-27 19:10:24 -08:00
2013-02-28 17:43:09 -08:00
2013-02-27 19:10:24 -08:00
2012-12-10 14:09:01 -05:00
2013-02-21 12:05:51 -08:00
2013-02-27 19:10:24 -08:00
2012-12-16 15:40:50 -08:00
2013-01-21 15:40:12 -05:00
2013-01-21 14:07:44 -05:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-21 17:40:58 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-01-11 11:40:01 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-21 12:05:51 -08:00
2013-02-27 19:10:24 -08:00
2012-10-02 13:38:27 -07:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2012-12-28 13:40:16 -08:00
2013-02-27 19:10:24 -08:00
2013-02-21 12:05:51 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-03-02 16:46:07 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-18 15:02:51 -05:00
2012-04-15 12:44:40 -04:00
2013-02-19 14:56:34 -05:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2012-09-26 21:10:25 -04:00
2013-02-21 12:05:51 -08:00
2013-02-10 19:41:08 -05:00
2013-02-26 20:16:07 -08:00
2012-11-18 20:32:45 -05:00