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

Commit c22c6fa4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Bluetooth AIDL: SetTerminalRaw on fd" into udc-dev am: 261efeee

parents 89d08942 261efeee
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;
}