Bug 739335: Fix wifi on Gingerbread gonk. r=cjones (npotb)
authorBlake Kaplan <mrbkap@gmail.com>
Mon, 26 Mar 2012 12:22:29 -0700
changeset 93611 df8ac2a1ecdd3223a110a15ee717b3ce6882effa
parent 93610 a30fd69f1e0c75ba46caaf37ad45e2b8f3bc776c
child 93612 66ed241967547b0b18450d2d5b1a75a10f514247
child 112345 5caeb193e6de12c5252280a0f8bd29fb32e821e7
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs739335
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 739335: Fix wifi on Gingerbread gonk. r=cjones (npotb)
dom/wifi/libnetutils.js
--- a/dom/wifi/libnetutils.js
+++ b/dom/wifi/libnetutils.js
@@ -119,17 +119,17 @@ let libnetutils = (function () {
                       ctypes.int.ptr,  // mask
                       ctypes.int.ptr,  // dns1
                       ctypes.int.ptr,  // dns2
                       ctypes.int.ptr,  // server
                       ctypes.int.ptr); // lease
 
     let makeRequestWrapper = function (c_fn) {
       return function (ifname) {
-        let ret = c_fn(data.ifname,
+        let ret = c_fn(ifname,
                        ints.addressOfElement(0),
                        ints.addressOfElement(1),
                        ints.addressOfElement(2),
                        ints.addressOfElement(3),
                        ints.addressOfElement(4),
                        ints.addressOfElement(5),
                        ints.addressOfElement(6));
         return { ret: ret |0, ipaddr: ints[0] |0, gateway: ints[1] |0,