Adapter not unregistered |
|||
Issue descriptionWhen trying to record adapter lost metrics, an early return prevents unregistering adapter from happening.
,
Nov 7
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/third_party/bluez/+/c97dcc385f74affdd37e93cdcd765be30649f951 commit c97dcc385f74affdd37e93cdcd765be30649f951 Author: Nicholas Bishop <nbishop@neverware.com> Date: Wed Nov 07 14:34:23 2018 Fix bluetooth device not being unregistered when turned off There's an early return in the metrics code. It should call adapter_unregister() before exiting the function, otherwise the device sometimes will seem to stick around after it's turned off, which then causes it not to be re-registered when turned on again. BUG= chromium:902143 TEST=Deploy bluez to a device with a physical bluetooth/wireless switch, toggle the switch off and on repeatedly and check that bluetooth becomes active each time Change-Id: Id740bfcf3df121a0be5b9706ce92a9c2ff09814c Reviewed-on: https://chromium-review.googlesource.com/1266077 Commit-Ready: Sonny Sasaka <sonnysasaka@chromium.org> Tested-by: Nicholas Bishop <nbishop@neverware.com> Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org> [modify] https://crrev.com/c97dcc385f74affdd37e93cdcd765be30649f951/src/adapter.c
,
Nov 13
|
|||
►
Sign in to add a comment |
|||
Comment 1 by nbis...@neverware.com
, Nov 6