Skip to content

Commit

Permalink
[nrf fromtree] Revert "Bluetooth: host: Remove CCC update from GATT c…
Browse files Browse the repository at this point in the history
…onnected callback"

This reverts commit 0a1f553.

Signed-off-by: Marek Pieta <[email protected]>
(cherry picked from commit 5c3fc27)
  • Loading branch information
MarekPieta authored and mbolivar-nordic committed Feb 11, 2022
1 parent 54af281 commit 76b7916
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subsys/bluetooth/host/gatt.c
Original file line number Diff line number Diff line change
Expand Up @@ -4908,6 +4908,8 @@ void bt_gatt_connected(struct bt_conn *conn)
settings_load_subtree_direct(key, ccc_set_direct, (void *)key);
}

bt_gatt_foreach_attr(0x0001, 0xffff, update_ccc, &data);

/* BLUETOOTH CORE SPECIFICATION Version 5.1 | Vol 3, Part C page 2192:
*
* 10.3.1.1 Handling of GATT indications and notifications
Expand Down

0 comments on commit 76b7916

Please sign in to comment.