Commit 9d4b01a
committed
Bluetooth: hci_core: Fix not accounting for BIS/CIS/PA links separately
This fixes the likes of hci_conn_num(CIS_LINK) returning the total of
ISO connection which includes BIS_LINK as well, so this splits the
iso_num into each link type and introduces hci_iso_num that can be used
in places where the total number of ISO connection still needs to be
used.
Fixes: 2320556 ("Bluetooth: separate CIS_LINK and BIS_LINK link types")
Fixes: a7bcffc ("Bluetooth: Add PA_LINK to distinguish BIG sync and PA sync connections")
Signed-off-by: Luiz Augusto von Dentz <[email protected]>1 parent e489317 commit 9d4b01a
1 file changed
Lines changed: 25 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
1014 | 1016 | | |
1015 | 1017 | | |
1016 | 1018 | | |
| 1019 | + | |
| 1020 | + | |
1017 | 1021 | | |
| 1022 | + | |
| 1023 | + | |
1018 | 1024 | | |
1019 | | - | |
| 1025 | + | |
1020 | 1026 | | |
1021 | 1027 | | |
1022 | 1028 | | |
| |||
1042 | 1048 | | |
1043 | 1049 | | |
1044 | 1050 | | |
| 1051 | + | |
| 1052 | + | |
1045 | 1053 | | |
| 1054 | + | |
| 1055 | + | |
1046 | 1056 | | |
1047 | | - | |
| 1057 | + | |
1048 | 1058 | | |
1049 | 1059 | | |
1050 | 1060 | | |
| |||
1061 | 1071 | | |
1062 | 1072 | | |
1063 | 1073 | | |
| 1074 | + | |
1064 | 1075 | | |
| 1076 | + | |
1065 | 1077 | | |
1066 | | - | |
| 1078 | + | |
1067 | 1079 | | |
1068 | 1080 | | |
1069 | 1081 | | |
| |||
1073 | 1085 | | |
1074 | 1086 | | |
1075 | 1087 | | |
1076 | | - | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
1077 | 1097 | | |
1078 | 1098 | | |
1079 | 1099 | | |
| |||
0 commit comments