aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/fibocom/mm-broadband-bearer-fibocom-ecm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/fibocom/mm-broadband-bearer-fibocom-ecm.c b/plugins/fibocom/mm-broadband-bearer-fibocom-ecm.c
index a4faf6ab..6d045e1f 100644
--- a/plugins/fibocom/mm-broadband-bearer-fibocom-ecm.c
+++ b/plugins/fibocom/mm-broadband-bearer-fibocom-ecm.c
@@ -50,7 +50,7 @@ parse_gtrndis_read_response (const gchar *response,
return FALSE;
}
- if (state) {
+ if (*state) {
if (!mm_get_uint_from_match_info (match_info, 2, cid)) {
g_set_error (error, MM_CORE_ERROR, MM_CORE_ERROR_FAILED,
"Failed to match cid in +GTRNDIS response: %s", response);