File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,10 @@ static uint8_t sirk_notify_func(struct bt_conn *conn,
186
186
return BT_GATT_ITER_STOP ;
187
187
}
188
188
189
+ if (conn == NULL ) {
190
+ return BT_GATT_ITER_CONTINUE ;
191
+ }
192
+
189
193
csis_inst = lookup_instance_by_handle (conn , handle );
190
194
191
195
if (csis_inst != NULL ) {
@@ -254,6 +258,10 @@ static uint8_t size_notify_func(struct bt_conn *conn,
254
258
return BT_GATT_ITER_STOP ;
255
259
}
256
260
261
+ if (conn == NULL ) {
262
+ return BT_GATT_ITER_CONTINUE ;
263
+ }
264
+
257
265
csis_inst = lookup_instance_by_handle (conn , handle );
258
266
259
267
if (csis_inst != NULL ) {
@@ -297,6 +305,10 @@ static uint8_t lock_notify_func(struct bt_conn *conn,
297
305
return BT_GATT_ITER_STOP ;
298
306
}
299
307
308
+ if (conn == NULL ) {
309
+ return BT_GATT_ITER_CONTINUE ;
310
+ }
311
+
300
312
csis_inst = lookup_instance_by_handle (conn , handle );
301
313
302
314
if (csis_inst != NULL ) {
You can’t perform that action at this time.
0 commit comments