zephyr/subsys/bluetooth/host
Mariusz Skamra d0111f7f44 Revert "Bluetooth: gatt: ccc changed cb after connection cb"
This reverts commit 6bb75a53d1.
This fixes GATT that was uninitalized when application received
bt_conn_cb->connected callback. As the result, the bt_gatt_is_subscribed
was not working as expected when called from bt_conn_cb->connected.

The _bt_gatt_ccc->cfg_changed callback does not carry information about
the device that subscribed for notifications but rather is says the
app when it should start/stop broadcasting notifications.

This leads to the conclusion that the bt_gatt_ccc->cfg_changed can be
called before bt_conn_cb->connected callback.

Fixes: #42829
Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2022-03-22 12:32:54 +01:00
..
a2dp_internal.h
a2dp.c
addr.c
adv.c Bluetooth: Host: Reconstruct stream interface 2022-03-09 13:59:47 -05:00
adv.h Bluetooth: host: Cancel limited adv timeout when advertising stopped 2021-08-30 14:41:20 +02:00
aes_ccm.c Bluetooth: host: Fix MIC generation in Bluetooth CCM encryption 2021-11-08 11:00:33 -05:00
at.c
at.h
att_internal.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
att.c Revert "Bluetooth: gatt: ccc changed cb after connection cb" 2022-03-22 12:32:54 +01:00
avdtp_internal.h
avdtp.c
br.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
br.h
buf.c Bluetooth: buf: Update BT_BUF_RX_SIZE with ISO 2021-12-09 12:38:12 -05:00
CMakeLists.txt Bluetooth: Update terms in public API to spec v5.3 2021-09-15 14:02:50 +03:00
conn_internal.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
conn.c Revert "Bluetooth: gatt: ccc changed cb after connection cb" 2022-03-22 12:32:54 +01:00
crypto.c
crypto.h
direction_internal.h Bluetooth: Host: df: Fix uninit per adv sync and IQ report passed to app 2022-02-08 14:49:43 +01:00
direction.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
ecc.c bluetooth: Add defines for ECC key lengths 2021-08-09 16:45:57 +02:00
ecc.h bluetooth: Add defines for ECC key lengths 2021-08-09 16:45:57 +02:00
gatt_internal.h
gatt.c Bluetooth: Host: Validate security on GATT subscription 2022-03-21 10:14:53 +01:00
hci_common.c
hci_core.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
hci_core.h subsys/bluetooth/host: hci_core: Add a bt_disable command 2022-03-10 13:28:41 -05:00
hci_ecc.c subsys/bluetooth/host: hci_core: Add a bt_disable command 2022-03-10 13:28:41 -05:00
hci_ecc.h subsys/bluetooth/host: hci_core: Add a bt_disable command 2022-03-10 13:28:41 -05:00
hci_raw_internal.h
hci_raw.c Bluetooth: tests: edtt: fix buffer overflow error 2022-02-05 06:19:00 -05:00
hfp_hf.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
hfp_internal.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
id.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
id.h
iso_internal.h Bluetooth: iso: Fix ISO data path setup 2022-03-10 14:33:20 -05:00
iso.c Bluetooth: iso: Fix data path configuration 2022-03-14 22:03:43 -04:00
Kconfig everywhere: fix typos 2022-03-18 13:24:08 -04:00
Kconfig.gatt kconfig: bluetooth: experimental settings now uses select EXPERIMENTAL 2021-10-22 13:59:21 +02:00
Kconfig.l2cap Bluetooth: bap: Remove EATT dependency 2022-03-17 11:37:21 +01:00
keys_br.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
keys.c Bluetooth: Fix build error for printing LTK 2021-12-13 17:21:24 -05:00
keys.h Bluetooth: host: Align with terms in v5.3 spec 2021-09-20 20:01:32 +02:00
l2cap_br.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
l2cap_internal.h everywhere: fix typos 2022-03-18 13:24:08 -04:00
l2cap.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
monitor.c logging: Deprecate v1, default to v2 2022-01-17 15:49:10 -05:00
monitor.h
rfcomm_internal.h
rfcomm.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
scan.c Bluetooth: Host: Avoid address copy for PA list 2022-02-21 20:50:22 -05:00
scan.h
sdp_internal.h
sdp.c everywhere: fix typos 2022-03-18 13:24:08 -04:00
settings.c Bluetooth: Host: Implement dynamic apperance 2022-03-07 10:45:55 +01:00
settings.h
smp_null.c
smp.c kernel: workq: Fix type errors in delayable work handlers 2022-02-02 18:43:12 -05:00
smp.h bluetooth: host: Add support for SMP error code 0x0f 2021-11-01 21:48:52 -04:00
ssp.c
ssp.h
testing.c
testing.h
uuid.c Bluetooth: uuid: Use BT_UUID_SIZE_ macros for bt_uuid_create 2021-07-19 18:52:41 +02:00