Skip to content
Commit 0b88078b authored by Håvard Reierstad's avatar Håvard Reierstad Committed by Mahesh Mahadevan
Browse files

Bluetooth: host: Fix unsafe cast in is_subscribed



The current implementation casts the user data to the attribute value,
which makes an assumption about the user data. This commit changes the
implementation to use the attribute value read function when extracting
the characteristic properties.

Signed-off-by: default avatarHåvard Reierstad <haavard.reierstad@nordicsemi.no>
parent 8d07197d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment