Commit e70152f
committed
Bluetooth: hci_core: Fix not accounting for BIS/CIS/PA links separately
JIRA: https://issues.redhat.com/browse/RHEL-107922
commit 9d4b01a
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: Thu Aug 14 11:57:19 2025 -0400
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 <luiz.von.dentz@intel.com>
Signed-off-by: David Marlin <dmarlin@redhat.com>1 parent f32ad53 commit e70152f
1 file changed
+25
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
1008 | 1010 | | |
1009 | 1011 | | |
1010 | 1012 | | |
| 1013 | + | |
| 1014 | + | |
1011 | 1015 | | |
| 1016 | + | |
| 1017 | + | |
1012 | 1018 | | |
1013 | | - | |
| 1019 | + | |
1014 | 1020 | | |
1015 | 1021 | | |
1016 | 1022 | | |
| |||
1036 | 1042 | | |
1037 | 1043 | | |
1038 | 1044 | | |
| 1045 | + | |
| 1046 | + | |
1039 | 1047 | | |
| 1048 | + | |
| 1049 | + | |
1040 | 1050 | | |
1041 | | - | |
| 1051 | + | |
1042 | 1052 | | |
1043 | 1053 | | |
1044 | 1054 | | |
| |||
1055 | 1065 | | |
1056 | 1066 | | |
1057 | 1067 | | |
| 1068 | + | |
1058 | 1069 | | |
| 1070 | + | |
1059 | 1071 | | |
1060 | | - | |
| 1072 | + | |
1061 | 1073 | | |
1062 | 1074 | | |
1063 | 1075 | | |
| |||
1067 | 1079 | | |
1068 | 1080 | | |
1069 | 1081 | | |
1070 | | - | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
1071 | 1091 | | |
1072 | 1092 | | |
1073 | 1093 | | |
| |||
0 commit comments