mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 866024 - nsWifiMonitorGonk reports correct list of access points.
This commit is contained in:
parent
11b52a7df1
commit
025d8a915a
@ -154,9 +154,9 @@ nsWifiMonitor::Onready(uint32_t count, nsIWifiScanResult **results)
|
||||
ReplaceArray(mLastAccessPoints, accessPoints);
|
||||
|
||||
nsTArray<nsIWifiAccessPoint*> ac;
|
||||
uint32_t resultCount = accessPoints.Count();
|
||||
uint32_t resultCount = mLastAccessPoints.Count();
|
||||
for (uint32_t i = 0; i < resultCount; i++) {
|
||||
ac.AppendElement(accessPoints[i]);
|
||||
ac.AppendElement(mLastAccessPoints[i]);
|
||||
}
|
||||
|
||||
for (uint32_t i = 0; i < mListeners.Length(); i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user