summaryrefslogtreecommitdiff
path: root/debuggerd/handler/debuggerd_handler.cpp
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2019-03-19 15:04:07 -0700
committerHemant Kumar <hemantk@codeaurora.org>2019-03-27 10:56:41 -0700
commit5010aecaf8eb12ecde89ccc39aa76a6e37042e55 (patch)
tree5c7c226fc92d2265cf8c31265705854da69fba0b /debuggerd/handler/debuggerd_handler.cpp
parent0cb4a755e14539f5f48e48422b4eeb1cb5057f1c (diff)
adb: daemon: Assign valid fd to usb_handle ep0 file descriptor
open_functionfs() is assigning a on stack unique_fd object to control unique_fd of usb_handle. Since ep0 file is not closed upon closing functionfs transport, next call to open_functionfs() skips opening of ep0 file. As a result assignment operator overload method closes ep0 file because of valid control fd. Hence assign control fd only when adb_open() is called. CRs-Fixed: 2418307 Change-Id: Ibb1d20e77970de448ec6112a1161b709deebd709
Diffstat (limited to 'debuggerd/handler/debuggerd_handler.cpp')
0 files changed, 0 insertions, 0 deletions