Closed
Bug 866024
Opened 12 years ago
Closed 12 years ago
nsWifiMonitorGonk reports no wireless access points.
Categories
(Firefox OS Graveyard :: Wifi, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nsm, Assigned: nsm)
References
Details
Attachments
(1 file)
|
1002 bytes,
patch
|
dougt
:
review+
dougt
:
approval-mozilla-b2g18-
|
Details | Diff | Splinter Review |
The WifiMonitor interface is supposed to notify listeners about changes in available access points. nsWifiMonitorGonk has a bug where the listeners are always notified with an empty array of access points because the array is cleared.
http://mxr.mozilla.org/mozilla-central/source/netwerk/wifi/nsWifiMonitorGonk.cpp#154
and
http://mxr.mozilla.org/mozilla-b2g18/source/netwerk/wifi/nsWifiMonitorGonk.cpp#154
the call to ReplaceArray results in the second argument being cleared, which is then used to calculate the list of access points to send to listeners.
Fix coming up.
| Assignee | ||
Comment 1•12 years ago
|
||
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 778235
User impact if declined:
I'm not sure, but NetworkGeolocationProvider may be incorrect.
Testing completed:
The patch does let listeners know the correct list of access points, whereas it reported none before.
Risk to taking this patch (and alternatives if risky):
Low, its a two line variable name fix
String or UUID changes made by this patch:
None
Attachment #742269 -
Flags: review?(doug.turner)
Attachment #742269 -
Flags: approval-mozilla-b2g18?
Updated•12 years ago
|
Attachment #742269 -
Flags: review?(doug.turner)
Attachment #742269 -
Flags: review+
Attachment #742269 -
Flags: approval-mozilla-b2g18?
Attachment #742269 -
Flags: approval-mozilla-b2g18-
| Assignee | ||
Comment 2•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•