Bluetooth: host: Subscriptions not removed upon unpair #21131
Labels
area: Bluetooth
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Describe the bug
When having a central being connected (and bonded) with one peripheral at a time, it's not possible to unpair and then reconnect/pair to a second device without allocating a
struct bt_gatt_subscribe_params
per connection.To Reproduce
Steps to reproduce the behavior:
CONFIG_SMP=y
andCONFIG_BT_SETTINGS=y
bt_unpair
struct bt_gatt_subscribe_params
)Expected behavior
Subscriptions for a bonded device should be removed upon unpair, and the
struct bt_gatt_subscribe_params
should allow re-use afterwards.Impact
Increased code complexity and memory usage.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: