Bug 1074037 - (follow-up) fix undefined variable name. r=edgar
authorJessica Jong <jjong@mozilla.com>
Mon, 13 Oct 2014 23:12:47 +0800
changeset 210124 7896f972454dfe67b8519a9f351893decab4ad2c
parent 210123 5fc7a8a19fa00e9ab628b2d579bdd42a805aac9e
child 210125 22506195450b9646c9170efddbb3e51d9415301b
push id11361
push userjjong@mozilla.com
push dateMon, 13 Oct 2014 15:13:09 +0000
treeherderb2g-inbound@7896f972454d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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.