There is no HAL function to enable/disable SSP so always enable it if
supported by controller.
void *user_data)
{
const struct mgmt_rp_read_info *rp = param;
+ uint32_t missing_settings;
int err;
DBG("");
load_link_keys(NULL);
set_io_capability();
+
+ missing_settings = adapter->current_settings ^
+ adapter->supported_settings;
+
+ if (missing_settings & MGMT_SETTING_SSP)
+ set_mode(MGMT_OP_SET_SSP, 0x01);
+
set_mode(MGMT_OP_SET_PAIRABLE, 0x01);
return;