We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1f5052 commit 0c81924Copy full SHA for 0c81924
1 file changed
mazda/wireless/wireless.cpp
@@ -144,7 +144,7 @@ void BCAClient::ConnectionStatusResp(
144
const uint32_t &btDeviceId,
145
const uint32_t &status,
146
const ::DBus::Struct <std::vector<uint8_t>> &terminalPath) {
147
- if (serviceId == 15) {
+ if (serviceId == 15 && connStatus == 3) {
148
char *pty = (char *) malloc(terminalPath._1.size());
149
std::copy(terminalPath._1.begin(), terminalPath._1.end(), pty);
150
logd("\tPTY: %s\n", pty);
0 commit comments