Skip to content

Commit 0c81924

Browse files
committed
s
1 parent c1f5052 commit 0c81924

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mazda/wireless/wireless.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ void BCAClient::ConnectionStatusResp(
144144
const uint32_t &btDeviceId,
145145
const uint32_t &status,
146146
const ::DBus::Struct <std::vector<uint8_t>> &terminalPath) {
147-
if (serviceId == 15) {
147+
if (serviceId == 15 && connStatus == 3) {
148148
char *pty = (char *) malloc(terminalPath._1.size());
149149
std::copy(terminalPath._1.begin(), terminalPath._1.end(), pty);
150150
logd("\tPTY: %s\n", pty);

0 commit comments

Comments
 (0)