Skip to content

Commit

Permalink
Bluetooth: has: Fix preset list notifications after reconnection
Browse files Browse the repository at this point in the history
This fixes sending proper Preset List notifications after
reconnection. The issue was observed when the last preset
known to the client has been removed.
As we do not hold the information about the deleted presets,
we need to use Generic Update procedure to:
 1. Notify the presets that have been removed in range
    (PrevIndex = current_preset_last, Index=previous_preset_last)
 2. Notify deletion of preset Index=previous_preset_last.

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
  • Loading branch information
MariuszSkamra committed Oct 12, 2023
1 parent 0be56cf commit a2f2940
Showing 1 changed file with 188 additions and 57 deletions.
Loading

0 comments on commit a2f2940

Please sign in to comment.