Skip to content

Commit 76b7916

Browse files
MarekPietambolivar-nordic
authored andcommitted
[nrf fromtree] Revert "Bluetooth: host: Remove CCC update from GATT connected callback"
This reverts commit 0a1f553. Signed-off-by: Marek Pieta <[email protected]> (cherry picked from commit 5c3fc27)
1 parent 54af281 commit 76b7916

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

subsys/bluetooth/host/gatt.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4908,6 +4908,8 @@ void bt_gatt_connected(struct bt_conn *conn)
49084908
settings_load_subtree_direct(key, ccc_set_direct, (void *)key);
49094909
}
49104910

4911+
bt_gatt_foreach_attr(0x0001, 0xffff, update_ccc, &data);
4912+
49114913
/* BLUETOOTH CORE SPECIFICATION Version 5.1 | Vol 3, Part C page 2192:
49124914
*
49134915
* 10.3.1.1 Handling of GATT indications and notifications

0 commit comments

Comments
 (0)