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:
a9ad547
)
huaweimodem: Increase NDIS setup time to 20 seconds
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 24 Oct 2010 13:35:45 +0000
(15:35 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 24 Oct 2010 13:35:45 +0000
(15:35 +0200)
drivers/huaweimodem/gprs-context.c
patch
|
blob
|
history
diff --git
a/drivers/huaweimodem/gprs-context.c
b/drivers/huaweimodem/gprs-context.c
index
b6c001b
..
5fc6af0
100644
(file)
--- a/
drivers/huaweimodem/gprs-context.c
+++ b/
drivers/huaweimodem/gprs-context.c
@@
-65,7
+65,7
@@
static gboolean dhcp_poll(gpointer user_data)
struct ofono_gprs_context *gc = user_data;
struct gprs_context_data *gcd = ofono_gprs_context_get_data(gc);
- if (gcd->dhcp_count >
1
0)
+ if (gcd->dhcp_count >
2
0)
CALLBACK_WITH_FAILURE(gcd->up_cb, NULL, 0, NULL, NULL,
NULL, NULL, gcd->cb_data);
else
@@
-88,7
+88,7
@@
static gboolean get_next_addr(GAtResultIter *iter, char **addr)
val = strtol(str, NULL, 16);
if (addr)
- *addr = g_strdup_printf("%u.%u.%u.%u",
+ *addr = g_strdup_printf("%u.%u.%u.%u",
(val & 0x000000ff),
(val & 0x0000ff00) >> 8,
(val & 0x00ff0000) >> 16,