Bug 1074037 - (follow-up) fix undefined variable name. r=edgar
authorJessica Jong <jjong@mozilla.com>
Mon, 13 Oct 2014 23:12:47 +0800
changeset 210144 7896f972454dfe67b8519a9f351893decab4ad2c
parent 210143 5fc7a8a19fa00e9ab628b2d579bdd42a805aac9e
child 210145 22506195450b9646c9170efddbb3e51d9415301b
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersedgar
bugs1074037
milestone35.0a1
Bug 1074037 - (follow-up) fix undefined variable name. r=edgar
dom/system/gonk/RadioInterfaceLayer.js
--- a/dom/system/gonk/RadioInterfaceLayer.js
+++ b/dom/system/gonk/RadioInterfaceLayer.js
@@ -1151,17 +1151,17 @@ DataConnectionHandler.prototype = {
       default:
         return Ci.nsINetworkInterface.NETWORK_TYPE_UNKNOWN;
      }
   },
 
   _compareDataCallOptions: function(dataCall, newDataCall) {
     return dataCall.apnProfile.apn == newDataCall.apn &&
            dataCall.apnProfile.user == newDataCall.user &&
-           dataCall.apnProfile.password == newDataCall.password &&
+           dataCall.apnProfile.password == newDataCall.passwd &&
            dataCall.chappap == newDataCall.chappap &&
            dataCall.pdptype == newDataCall.pdptype;
   },
 
   _deliverDataCallMessage: function(name, args) {
     for (let i = 0; i < this._dataCalls.length; i++) {
       let datacall = this._dataCalls[i];
       // Send message only to the DataCall that matches the data call options.