Diff between ecf2d2c6a3c6e8a04408f566fbc06297161942ec and 2446ebdf6983993b10b0255e9fa85b2979bb3067
Changed Files
| File | Additions | Deletions | Status |
| tools/l2cap-tester.c | +1 | -1 | modified |
Full Patch
diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c
index 3f6dd29..b8b740c 100644
--- a/tools/l2cap-tester.c
+++ b/tools/l2cap-tester.c
@@ -673,7 +673,7 @@ static void setup_powered_common(void)
data->mgmt_index, pin_code_request_callback,
data, NULL);
- if (test->client_io_cap)
+ if (test && test->client_io_cap)
bthost_set_io_capability(bthost, test->client_io_cap);
if (test && test->client_pin)