On Thu, 2008-10-23 at 17:53 -0500, Jerone Young wrote:
> This is a fix for sierra wireless 881 modem. The problem is that that it
> currently fails when setting the APN. The problem turned out to be that
> someone added spaces to the APN initialization line. 

Thanks, svn r4211.

Dan


> This patch has been tested and works. This will also fix other sierra
> wireless cards. 
> 
> This should not affect any other wireless modems if you need example APN
> initialization lines (that have NO spaces) see here:
> http://74.125.45.104/search?q=cache:yh38V23XmD8J:ewon.be/Download/TN/GPRS%2520network%2520param.pdf+AT%2BCGDCONT&hl=en&ct=clnk&cd=5&gl=us&client=firefox-a
> 
> Signed-off-by: Jerone Young <[EMAIL PROTECTED]>
> 
> --- src/nm-gsm-device.c 2008-10-22 03:24:00 +0000
> +++ src/nm-gsm-device.c 2008-10-22 03:24:39 +0000
> @@ -213,7 +213,7 @@
>    return;
>   }
> 
> - command = g_strdup_printf ("AT+CGDCONT=%d, \"IP\", \"%s\"", cid, 
> setting->apn);
> + command = g_strdup_printf ("AT+CGDCONT=%d,\"IP\",\"%s\"", cid, 
> setting->apn);
>   modem_wait_for_reply (device, command, 7, responses, responses, 
> set_apn_done, GUINT_TO_POINTER (cid));
>   g_free (command);
>  }
> 
> _______________________________________________
> NetworkManager-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/networkmanager-list

_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to