Skip to content
Commit a42e4f69 authored by Jonathan Gelie's avatar Jonathan Gelie Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: GATT: set subscribe value to zero for unsubscription



Subscribe value is set to zero before calling notify callback,
to distinguish a subscription failure from an unsubscription
on disconnection (when flag BT_GATT_SUBSCRIBE_FLAG_VOLATILE is set).

Change-Id: Ia91220492d82041b2c385bf88a15180387e7a483
Signed-off-by: default avatarJonathan Gelie <jonathanx.gelie@intel.com>
parent ccecfaac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment