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

Commit 261efeee authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 3d35c2e7 d1abb34b
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;
}