All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] plugins: rm unecessary sleep from ril plugin
@ 2015-11-18  1:48 Tony Espy
  2015-11-18  2:51 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Tony Espy @ 2015-11-18  1:48 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

---
 plugins/ril.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/plugins/ril.c b/plugins/ril.c
index 8ccf01a..7820be4 100644
--- a/plugins/ril.c
+++ b/plugins/ril.c
@@ -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;
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] plugins: rm unecessary sleep from ril plugin
  2015-11-18  1:48 [PATCH] plugins: rm unecessary sleep from ril plugin Tony Espy
@ 2015-11-18  2:51 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2015-11-18  2:51 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

Hi Tony,

On 11/17/2015 07:48 PM, Tony Espy wrote:
> ---
>   plugins/ril.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/plugins/ril.c b/plugins/ril.c
> index 8ccf01a..7820be4 100644
> --- a/plugins/ril.c
> +++ b/plugins/ril.c
> @@ -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?

>   			}
>   			break;
>

Applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-18  2:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-18  1:48 [PATCH] plugins: rm unecessary sleep from ril plugin Tony Espy
2015-11-18  2:51 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.