summaryrefslogtreecommitdiff
path: root/system/stack/rfcomm/port_api.cc
diff options
context:
space:
mode:
authorScott Lobdell <slobdell@google.com>2022-06-13 17:31:27 +0000
committerScott Lobdell <slobdell@google.com>2022-06-13 17:36:26 +0000
commit96230268500ca72fd4d4c4cb15c54dbfd268ac89 (patch)
treeed9f7baeca3035a0e01d0de1b97ee361fbb1cb09 /system/stack/rfcomm/port_api.cc
parent5ccf9c5f1a35b5f4ee2ea952df82dfe6706e043c (diff)
parent197e748fe27845baab411394ac5aaaae5337663a (diff)
Merge TP1A.220609.001
Change-Id: I6c3c168fb196a53feb1d2688b74bea4fdbc5b3e8
Diffstat (limited to 'system/stack/rfcomm/port_api.cc')
-rw-r--r--system/stack/rfcomm/port_api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/stack/rfcomm/port_api.cc b/system/stack/rfcomm/port_api.cc
index 56b0fd1d0f..cca0f05310 100644
--- a/system/stack/rfcomm/port_api.cc
+++ b/system/stack/rfcomm/port_api.cc
@@ -516,7 +516,7 @@ bool PORT_IsOpening(RawAddress* bd_addr) {
}
LOG_INFO("RFC_MX_STATE_CONNECTED, found_port=%d, tRFC_PORT_STATE=%d",
- found_port, p_port->rfc.state);
+ found_port, p_port != nullptr ? p_port->rfc.state : 0);
if ((!found_port) ||
(found_port && (p_port->rfc.state < RFC_STATE_OPENED))) {
/* Port is not established yet. */