Commit e98eca9
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 a7c1c7c commit e98eca9
2 files changed
Lines changed: 10 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 | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
481 | 484 | | |
482 | 485 | | |
483 | 486 | | |
| |||
| 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 | | |
| 1038 | + | |
| 1039 | + | |
1036 | 1040 | | |
1037 | 1041 | | |
1038 | 1042 | | |
| |||
0 commit comments