CC26xx RF core: don't bail out from restarting the radio timer if just stopping it failed

This commit is contained in:
Atis Elsts 2017-03-14 18:36:23 +00:00
parent b756841522
commit dbd9d32daf

View file

@ -419,8 +419,7 @@ rf_core_restart_rat(void)
{ {
if(rf_core_stop_rat() != RF_CORE_CMD_OK) { if(rf_core_stop_rat() != RF_CORE_CMD_OK) {
PRINTF("rf_core_restart_rat: rf_core_stop_rat() failed\n"); PRINTF("rf_core_restart_rat: rf_core_stop_rat() failed\n");
/* Don't bail out here, still try to start it */
return RF_CORE_CMD_ERROR;
} }
if(rf_core_start_rat() != RF_CORE_CMD_OK) { if(rf_core_start_rat() != RF_CORE_CMD_OK) {