Skip to content

Commit 399a846

Browse files
thomas-m-johansenrlubos
authored andcommitted
bluetooth: controller: add missing feature bit for power class 1
When power class 1 was enabled the feature feature bit was not being set. Signed-off-by: Thomas Johansen <[email protected]>
1 parent f0d1a10 commit 399a846

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

subsys/bluetooth/controller/hci_internal.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,10 @@ void hci_internal_le_supported_features(
777777
features->params.channel_sounding = 1;
778778
features->params.channel_sounding_tone_quality_indication = 1;
779779
#endif /* CONFIG_BT_CTLR_CHANNEL_SOUNDING */
780+
781+
#if defined(CONFIG_BT_CTLR_SDC_LE_POWER_CLASS_1)
782+
features->params.le_Power_class_1 = 1;
783+
#endif /* CONFIG_BT_CTLR_SDC_LE_POWER_CLASS_1 */
780784
}
781785

782786
static void le_read_supported_states(uint8_t *buf)

0 commit comments

Comments
 (0)