Fix mbtk_rild abort.
Change-Id: I51940ce341a8077fa75366cddbb3301badf39a06
diff --git a/mbtk/mbtk_rild/src/mbtk_info_server.c b/mbtk/mbtk_rild/src/mbtk_info_server.c
old mode 100644
new mode 100755
index 755e94f..15192bf
--- a/mbtk/mbtk_rild/src/mbtk_info_server.c
+++ b/mbtk/mbtk_rild/src/mbtk_info_server.c
@@ -1381,7 +1381,7 @@
static int req_band_set(mbtk_band_info_t* band, int *cme_err)
{
ATResponse *response = NULL;
- char cmd[30] = {0};
+ char cmd[100] = {0};
int err = -1;
if(band->gsm_band == 0 && band->umts_band == 0
@@ -3420,7 +3420,7 @@
}
if(strlen(apn->apn) > 0) {
index += sprintf(cmd + index,"\"%s\"", apn->apn);
- }
+ }
err = at_send_command(cmd, &response);
if (err < 0 || response->success == 0){