diff --git a/dom/system/gonk/RadioInterfaceLayer.js b/dom/system/gonk/RadioInterfaceLayer.js index cc8595e376e..299a06e1fb8 100644 --- a/dom/system/gonk/RadioInterfaceLayer.js +++ b/dom/system/gonk/RadioInterfaceLayer.js @@ -3758,8 +3758,12 @@ RadioInterface.prototype = { }, setupDataCallByType: function(apntype) { + if (DEBUG) this.debug("setupDataCallByType: " + apntype); let apnSetting = this.apnSettings.byType[apntype]; if (!apnSetting) { + if (DEBUG) { + this.debug("No apn setting for type: " + apntype); + } return; } @@ -3798,8 +3802,12 @@ RadioInterface.prototype = { }, deactivateDataCallByType: function(apntype) { + if (DEBUG) this.debug("deactivateDataCallByType: " + apntype); let apnSetting = this.apnSettings.byType[apntype]; if (!apnSetting) { + if (DEBUG) { + this.debug("No apn setting for type: " + apntype); + } return; }