Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cec08136 authored by Andre Eisenbach's avatar Andre Eisenbach
Browse files

Abort using SIGABRT instead of SIGKILL on command_timeout

This will produce a stack trace and flag for automated crash reporting.

Bug: 36026072
Test: net_test_bluetooth; device off/on/off tests
Change-Id: I4d4380d61028261ba7bb4599e39993cae1d906a5
parent 9589f47a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -409,7 +409,7 @@ static void command_timed_out(UNUSED_ATTR void* context) {

  LOG_ERROR(LOG_TAG, "%s restarting the bluetooth process.", __func__);
  usleep(10000);
  kill(getpid(), SIGKILL);
  abort();
}

// Event/packet receiving functions