Commit 0e7d995
committed
bluetooth: hogp: Fix bt_hogp_rep_unsubscribe issue
The bt_hogp_rep_unsubscribe did not reset the rep->notify_cb,
while bt_hogp_rep_subscribe returned an error if
notify_cb was not null. Thus, it would be impossible
to subscribe again to the report notification after
unsubscribing.
This commit fixes this.
Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>1 parent 85bc99f commit 0e7d995
2 files changed
Lines changed: 8 additions & 3 deletions
File tree
- doc/nrf/releases_and_maturity/releases
- subsys/bluetooth/services
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
461 | 464 | | |
462 | 465 | | |
463 | 466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
| 1029 | + | |
1029 | 1030 | | |
1030 | 1031 | | |
1031 | 1032 | | |
1032 | | - | |
1033 | | - | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
1034 | 1036 | | |
1035 | 1037 | | |
1036 | 1038 | | |
| |||
0 commit comments