mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 960865 - Part 2: handle dun apn type in RadioInterfaceLayer. r=hsinyi
This commit is contained in:
parent
9d13d18d6f
commit
223ebc982e
@ -4215,6 +4215,7 @@ RILNetworkInterface.prototype = {
|
||||
NETWORK_TYPE_MOBILE_MMS: Ci.nsINetworkInterface.NETWORK_TYPE_MOBILE_MMS,
|
||||
NETWORK_TYPE_MOBILE_SUPL: Ci.nsINetworkInterface.NETWORK_TYPE_MOBILE_SUPL,
|
||||
NETWORK_TYPE_MOBILE_IMS: Ci.nsINetworkInterface.NETWORK_TYPE_MOBILE_IMS,
|
||||
NETWORK_TYPE_MOBILE_DUN: Ci.nsINetworkInterface.NETWORK_TYPE_MOBILE_DUN,
|
||||
// The network manager should only need to add the host route for "other"
|
||||
// types, which is the same handling method as the supl type. So let the
|
||||
// definition of other types to be the same as the one of supl type.
|
||||
@ -4250,6 +4251,10 @@ RILNetworkInterface.prototype = {
|
||||
if (this.connectedTypes.indexOf("ims") != -1) {
|
||||
return this.NETWORK_TYPE_MOBILE_IMS;
|
||||
}
|
||||
if (this.connectedTypes.indexOf("dun") != -1) {
|
||||
return this.NETWORK_TYPE_MOBILE_DUN;
|
||||
}
|
||||
|
||||
return this.NETWORK_TYPE_MOBILE_OTHERS;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user