bugfix: src/gprs.c used the right binary NOT operator in bitwise operation instead of the boolean NOT operator
PATCH 1/1 bugfix: src/gprs.c used the right binary NOT operator in bitwise operation instead of the boolean NOT operator
--- src/gprs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/gprs.c +1 -1
@@ -1015,7 +1015,7 @@ static void pri_read_settings_callback(const struct ofono_error *error, value = pri_ctx->active; - gprs->flags &= !GPRS_FLAG_ATTACHING ; + gprs->flags &= ~GPRS_FLAG_ATTACHING ; gprs->driver_attached = TRUE;gprs_set_attached_property (gprs, TRUE);
Signature · 1 line
1.9.1
Hi Giacinto,
Quoted 4 lines · Giacinto Cifelli
--- src/gprs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied after tweaking the commit message.
Regards,
-Denis