Bluetooth: Don't disable LPM at power off am: 3b2a29676b
am: 2fe40fdd3c
Change-Id: I41dd5394f1951770f8d6b2dc624a704ce8a6d893
diff --git a/bluetooth/1.0/default/vendor_interface.cc b/bluetooth/1.0/default/vendor_interface.cc
index 57ea1a3..26f52f7 100644
--- a/bluetooth/1.0/default/vendor_interface.cc
+++ b/bluetooth/1.0/default/vendor_interface.cc
@@ -266,13 +266,6 @@
}
void VendorInterface::Close() {
- // These callbacks may send HCI events (vendor-dependent), so make sure to
- // StopWatching the file descriptor after this.
- if (lib_interface_ != nullptr) {
- bt_vendor_lpm_mode_t mode = BT_VND_LPM_DISABLE;
- lib_interface_->op(BT_VND_OP_LPM_SET_MODE, &mode);
- }
-
fd_watcher_.StopWatchingFileDescriptors();
if (hci_ != nullptr) {