bluetooth-testmode Application is not getting method reply for FactoryTestMode
methode call
bt-core was terminating itself before replying dbus method call
Change-Id: Ife0aabda0e4ecc9040b30271f8397b9d2749a919
Measure: terminate bt-core after replying to dbus method call
arg_list[0] = "bt-enable-rf-channel.sh";
arg_list[1] = (char *)arg;
} else {
- _bt_core_terminate();
return FALSE;
}
if (__execute_command(cmd, arg_list) < 0)
BT_ERR("running script failed");
- _bt_core_terminate();
return TRUE;
}
ret = _bt_core_factory_test_mode(type, arg);
g_dbus_method_invocation_return_value(invocation,
g_variant_new("(i)", ret));
+ _bt_core_terminate();
return;
} else {
ret = FALSE;