[Bugfix][S300/MD310][bug-view-1169/bug-view-1261][apn] fix quick setting apn unable to dial up internet access

Change-Id: I1cad40795a84c59059a60bd0cf14f31042d30f35
diff --git a/lynq/R307L/ap/app/zte_webui/js/com.js b/lynq/R307L/ap/app/zte_webui/js/com.js
index a6160de..cf19f15 100755
--- a/lynq/R307L/ap/app/zte_webui/js/com.js
+++ b/lynq/R307L/ap/app/zte_webui/js/com.js
@@ -6894,7 +6894,7 @@
                     ppp_auth_mode: sv_apn[4] == "" || typeof(sv_apn[4]) == "undefined" ? "" : sv_apn[4].toLowerCase(),					

                     ppp_username:sv_apn[5],

                     ppp_passtmp:sv_apn[6],						

-                    pdp_type: sv_apn[7],			

+                    pdp_type: sv_apn[7] == "" || typeof(sv_apn[7]) == "undefined" ? sv_ipv6APNItems[7] : sv_apn[7],			

                     ipv6_wan_apn:sv_ipv6APNItems[1],	

                     ipv6_ppp_auth_mode:typeof(sv_ipv6APNItems[4]) == "undefined" || sv_ipv6APNItems[4] == ""? "" : sv_ipv6APNItems[4].toLowerCase(),

                     ipv6_ppp_username:sv_ipv6APNItems[5],					

@@ -6907,6 +6907,7 @@
             target.currAPN                = ko.computed(sf_currAPN);

 

 			target.apn                    = ko.observable(target.currAPN().wan_apn);

+            target.ipType                 = ko.observable(target.currAPN().pdp_type);

 			target.ipv6_apn               = ko.observable(target.currAPN().ipv6_wan_apn);

             target.ipv6_selectedAuthMode  = ko.observable(target.currAPN().ipv6_ppp_auth_mode);				

             target.ipv6_username          = ko.observable(target.currAPN().ipv6_ppp_username);