Skip to content
Commit 4b822395 authored by Emil Gydesen's avatar Emil Gydesen Committed by Johan Hedberg
Browse files

Bluetooth: Audio: Add check conn in VCS client notify handler



As per the GATT documenation, the conn pointer may actually
be NULL in the notify callback, indicating that the connection
is being unpaired.

Add a check for conn == NULL to avoid calling bt_conn_index
on a NULL pointer.

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent 2cf91050
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment