Skip to contentSkip to conversation

plugins: rm unecessary sleep from ril plugin

PATCH Applied Tony Espy 2 participants 2 messages Nov 18, 2015

lore
Share & tools
lore

Tony Espy

author
#0 lore raw

PATCH 1/1 plugins: rm unecessary sleep from ril plugin

---
 plugins/ril.c | 1 -
 1 file changed, 1 deletion(-)
plugins/ril.c +0 -1
index 8ccf01a..7820be4 100644
@@ -145,7 +145,6 @@ static void ril_radio_state_changed(struct ril_msg *message, gpointer user_data)
 			if (rd->ofono_online) {
 				ofono_error("%s: radio self-powered off!",
 						__func__);
-				sleep(5);
 				exit(1);
 			}
 			break;
Signature · 1 line
2.1.4
#1 lore raw

Hi Tony,

Quoted 9 lines · Tony Espy
---
  plugins/ril.c | 1 -
  1 file changed, 1 deletion(-)
plugins/ril.c +0 -0
index 8ccf01a..7820be4 100644

plugins/ril.c static void ril_radio_state_changed(struct ril_msg *message, gpointer user_data) · line 148

Quoted 5 lines
plugins/ril.c +0 -1
@@ -145,7 +145,6 @@ static void ril_radio_state_changed(struct ril_msg *message, gpointer user_data)
  			if (rd->ofono_online) {
  				ofono_error("%s: radio self-powered off!",
  						__func__);
-				sleep(5);
  				exit(1);

Are we removing the exit as well soon?

plugins/ril.c static void ril_radio_state_changed(struct ril_msg *message, gpointer user_data) · line 150

Quoted 3 lines
plugins/ril.c +0 -0
  			}
  			break;

Applied, thanks.

Regards,
-Denis