Bluetooth: OTS: Fix checksum calculation support
There was a typo in Kconfig check (missing CONFIG_ prefix) which resulted in not setting OACP_FEAT_BIT_CRC bit in features. This also resulted in checksum feature being disabled due to check in bt_ots_init(). This was affecting OTS/SR/OASP/BV-03-C qualificatio test case. Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
This commit is contained in:
parent
14c6eef241
commit
e4747b28a8
|
@ -42,7 +42,7 @@ LOG_MODULE_REGISTER(bt_ots, CONFIG_BT_OTS_LOG_LEVEL);
|
|||
#define OACP_FEAT_BIT_DELETE 0
|
||||
#endif
|
||||
|
||||
#if defined(BT_OTS_OACP_CHECKSUM_SUPPORT)
|
||||
#if defined(CONFIG_BT_OTS_OACP_CHECKSUM_SUPPORT)
|
||||
#define OACP_FEAT_BIT_CRC BIT(BT_OTS_OACP_FEAT_CHECKSUM)
|
||||
#else
|
||||
#define OACP_FEAT_BIT_CRC 0
|
||||
|
|
Loading…
Reference in a new issue