mirror of git://git.sysmocom.de/ofono
gprs: Add comment to gprs_reset_contexts
This commit is contained in:
parent
1edb6eec9b
commit
e70afdd9dc
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue