diff options
author | Sven Gothel <[email protected]> | 2020-06-26 07:38:18 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-06-26 07:38:18 +0200 |
commit | e43da7302ecfcb84758bf5d286da60392c742634 (patch) | |
tree | a739ea7048309ddf1c8c7d5c23db8594f03a1fd2 | |
parent | 25df14701cc9b43ee656beab915de619c2054a3f (diff) |
HCIHandler: Fix comment (as found while reviewing whether hciReaderThreadImpl is detached as well)
-rw-r--r-- | src/direct_bt/HCIHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/HCIHandler.cpp b/src/direct_bt/HCIHandler.cpp index 1d4c1a64..a37fd13b 100644 --- a/src/direct_bt/HCIHandler.cpp +++ b/src/direct_bt/HCIHandler.cpp @@ -322,7 +322,7 @@ HCIHandler::HCIHandler(const BTMode btMode, const uint16_t dev_id, const int rep std::thread hciReaderThread = std::thread(&HCIHandler::hciReaderThreadImpl, this); hciReaderThreadId = hciReaderThread.native_handle(); // Avoid 'terminate called without an active exception' - // as l2capReaderThread may end due to I/O errors. + // as hciReaderThreadImpl may end due to I/O errors. hciReaderThread.detach(); while( false == hciReaderRunning ) { |