projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caad837
)
udev: Add sanity check for ports on old Option devices
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 16 Feb 2012 17:36:23 +0000
(18:36 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 16 Feb 2012 17:36:23 +0000
(18:36 +0100)
plugins/udevng.c
patch
|
blob
|
history
diff --git
a/plugins/udevng.c
b/plugins/udevng.c
index
a498ae1
..
756de02
100644
(file)
--- a/
plugins/udevng.c
+++ b/
plugins/udevng.c
@@
-258,6
+258,9
@@
static gboolean setup_option(struct modem_info *modem)
}
+ if (aux == NULL || mdm == NULL)
+ return FALSE;
+
DBG("aux=%s modem=%s diag=%s", aux, mdm, diag);
ofono_modem_set_string(modem->modem, "Aux", aux);