All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gprs: Add comment to gprs_reset_contexts
@ 2015-05-18 17:07 Alfonso Sanchez-Beato
  2015-05-18 17:13 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Alfonso Sanchez-Beato @ 2015-05-18 17:07 UTC (permalink / raw)
  To: ofono

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

---
 src/gprs.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gprs.c b/src/gprs.c
index 9c15abf..f21fe6e 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -2318,6 +2318,11 @@ static DBusMessage *gprs_reset_contexts(DBusConnection *conn,
 	if (gprs->pending)
 		return __ofono_error_busy(msg);
 
+	/*
+	 * We want __ofono_error_busy to take precedence over
+	 * __ofono_error_not_allowed errors, so we check it first.
+	 */
+
 	for (l = gprs->contexts; l; l = l->next) {
 		struct pri_context *ctx = l->data;
 
-- 
2.1.4


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

* Re: [PATCH] gprs: Add comment to gprs_reset_contexts
  2015-05-18 17:07 [PATCH] gprs: Add comment to gprs_reset_contexts Alfonso Sanchez-Beato
@ 2015-05-18 17:13 ` Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2015-05-18 17:13 UTC (permalink / raw)
  To: ofono

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

Hi Alfonso,

On 05/18/2015 12:07 PM, Alfonso Sanchez-Beato wrote:
> ---
>   src/gprs.c | 5 +++++
>   1 file changed, 5 insertions(+)
>

Applied, thanks.

Regards,
-Denis

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

end of thread, other threads:[~2015-05-18 17:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-18 17:07 [PATCH] gprs: Add comment to gprs_reset_contexts Alfonso Sanchez-Beato
2015-05-18 17:13 ` 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.