Bug 1009113 - Stop setting unused and incompatible wifi properties. r=gbrown

This commit is contained in:
William Lachance 2014-05-16 09:33:19 -04:00
parent 64d3acce20
commit ce524577d1

View File

@ -598,12 +598,8 @@ public class SUTAgentAndroid extends Activity
wc.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X); wc.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X);
} }
wc.hiddenSSID = false;
wc.status = WifiConfiguration.Status.ENABLED; wc.status = WifiConfiguration.Status.ENABLED;
wc.password.setValue("\"password\"");
wc.identity.setValue("\"bmoss@mozilla.com\"");
if (!wifi.isWifiEnabled()) if (!wifi.isWifiEnabled())
wifi.setWifiEnabled(true); wifi.setWifiEnabled(true);