File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ struct bt_iso_chan {
156
156
struct bt_iso_chan_qos * qos ;
157
157
/** Channel state */
158
158
enum bt_iso_state state ;
159
- #if defined(CONFIG_BT_SMP ) || defined(__DOXYGEN__ )
159
+ #if ( defined(CONFIG_BT_SMP ) && defined( CONFIG_BT_ISO_UNICAST ) ) || defined(__DOXYGEN__ )
160
160
/** @brief The required security level of the channel
161
161
*
162
162
* This value can be set as the central before connecting a CIS
@@ -167,7 +167,7 @@ struct bt_iso_chan {
167
167
* Only available when @kconfig{CONFIG_BT_SMP} is enabled.
168
168
*/
169
169
bt_security_t required_sec_level ;
170
- #endif /* CONFIG_BT_SMP */
170
+ #endif /* CONFIG_BT_SMP && CONFIG_BT_ISO_UNICAST */
171
171
/** Node used internally by the stack */
172
172
sys_snode_t node ;
173
173
};
You can’t perform that action at this time.
0 commit comments