Skip to content

Commit b6f7842

Browse files
anhmolteivindj-nordic
authored andcommitted
lib: ble_conn_params: fix wrong config name in prompt condition
Fix wrong Kconfig option name in the conditional for the prompt of BLE_CONN_PARAMS_INITIATE_DATA_LENGTH_UPDATE. Signed-off-by: Andreas Moltumyr <[email protected]>
1 parent 0999c80 commit b6f7842

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

doc/nrf-bm/release_notes/release_notes_changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ Libraries
5656

5757
* Updated the :c:func:`bm_zms_register` function to return ``-EINVAL`` when passing ``NULL`` input parameters.
5858

59+
* :ref:`lib_ble_conn_params` library:
60+
61+
* Fixed an issue that caused the :kconfig:option:`CONFIG_BLE_CONN_PARAMS_INITIATE_DATA_LENGTH_UPDATE` Kconfig option to always be hidden.
62+
5963
Samples
6064
=======
6165

lib/ble_conn_params/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ config BLE_CONN_PARAMS_DATA_LENGTH_RX
120120
definitive max data length of 251, the ATT MTU needs to be configured to at least 247.
121121

122122
config BLE_CONN_PARAMS_INITIATE_DATA_LENGTH_UPDATE
123-
bool "Initiate data length update on connection" if BLE_CONN_PARAMS_DATA_LENGTH != 27
123+
bool "Initiate data length update on connection" if BLE_CONN_PARAMS_DATA_LENGTH_TX != 27 || \
124+
BLE_CONN_PARAMS_DATA_LENGTH_RX != 27
124125

125126
endif # BLE_CONN_PARAMS_AUTO_DATA_LENGTH
126127

0 commit comments

Comments
 (0)