summaryrefslogtreecommitdiffstats
path: root/netwerk/wifi/nsWifiScannerWin.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-19 20:29:13 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-19 20:29:13 +0100
commita1bc6f33efae54491df22c333ed65d1aa13cb280 (patch)
tree93015d03baf277437a6870cf9cad45892cd970f9 /netwerk/wifi/nsWifiScannerWin.cpp
parent40d8e355ceb8a309b4878c2629334c3b9c7d20e9 (diff)
downloadUXP-a1bc6f33efae54491df22c333ed65d1aa13cb280.tar
UXP-a1bc6f33efae54491df22c333ed65d1aa13cb280.tar.gz
UXP-a1bc6f33efae54491df22c333ed65d1aa13cb280.tar.lz
UXP-a1bc6f33efae54491df22c333ed65d1aa13cb280.tar.xz
UXP-a1bc6f33efae54491df22c333ed65d1aa13cb280.zip
Remove obsolete WinXPWifiScanner class.
Tag #22
Diffstat (limited to 'netwerk/wifi/nsWifiScannerWin.cpp')
-rw-r--r--netwerk/wifi/nsWifiScannerWin.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/netwerk/wifi/nsWifiScannerWin.cpp b/netwerk/wifi/nsWifiScannerWin.cpp
index ef18706e4..6089c45c6 100644
--- a/netwerk/wifi/nsWifiScannerWin.cpp
+++ b/netwerk/wifi/nsWifiScannerWin.cpp
@@ -12,8 +12,6 @@
#include "nsServiceManagerUtils.h"
#include "nsWifiAccessPoint.h"
#include "win_wifiScanner.h"
-#include "win_xp_wifiScanner.h"
-#include "mozilla/WindowsVersion.h"
using namespace mozilla;
@@ -31,14 +29,7 @@ nsresult
nsWifiMonitor::DoScan()
{
if (!mWinWifiScanner) {
- if (IsWin2003OrLater()) {
- mWinWifiScanner = new WinWifiScanner();
- LOG(("Using Windows 2003+ wifi scanner."));
- } else {
- mWinWifiScanner = new WinXPWifiScanner();
- LOG(("Using Windows XP wifi scanner."));
- }
-
+ mWinWifiScanner = new WinWifiScanner();
if (!mWinWifiScanner) {
// TODO: Probably return OOM error
return NS_ERROR_FAILURE;