Skip to content

Instantly share code, notes, and snippets.

@dtatulea
Created January 14, 2016 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dtatulea/a28c360a1585a9ed7142 to your computer and use it in GitHub Desktop.
Save dtatulea/a28c360a1585a9ed7142 to your computer and use it in GitHub Desktop.
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -1251,8 +1253,8 @@ static DBusMessage *pri_set_property(DBusConnection *conn,
if (ctx->active == (ofono_bool_t) value)
return dbus_message_new_method_return(msg);
- if (value && !ctx->gprs->attached)
- return __ofono_error_not_attached(msg);
+ //if (value && !ctx->gprs->attached)
+ // return __ofono_error_not_attached(msg);
if (ctx->gprs->flags & GPRS_FLAG_ATTACHING)
return __ofono_error_attach_in_progress(msg);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment