Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9250aa4 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 10039348 from 3354cab9 to udc-qpr1-release

Change-Id: I3f5a53d1dcfa8ffa69a0df3c0100b01c3fdcb349
parents 31c9241e 3354cab9
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -117,11 +117,9 @@ int BluetoothHci::getFdFromDevPath() {
          strerror(errno));
    return fd;
  }
  if (int ret = SetTerminalRaw(mFd) < 0) {
    ALOGE("Could not make %s a raw terminal %d(%s)", mDevPath.c_str(), ret,
  if (int ret = SetTerminalRaw(fd) < 0) {
    ALOGI("Could not make %s a raw terminal %d(%s)", mDevPath.c_str(), ret,
          strerror(errno));
    ::close(fd);
    return -1;
  }
  return fd;
}