File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -90,26 +90,26 @@ exports.api_wifi_configure_handler = function( req, res ) {
90
90
91
91
92
92
var wpatemplate = "network={\n" +
93
- "\tssid=\"[ssid]\"\n" +
94
- "\tpsk=\"[password]\"\n" +
95
- "\tscan_ssid=1\n" +
96
- "\tpriority=10\n" +
97
- "}\n" ;
93
+ "\tssid=\"[ssid]\"\n" +
94
+ "\tpsk=\"[password]\"\n" +
95
+ "\tscan_ssid=1\n" +
96
+ "\tpriority=10\n" +
97
+ "}\n" ;
98
98
99
99
var weptemplate = "network={\n" +
100
- "\tssid=\"[ssid]\"\n" +
101
- "\twep_key0=\"[password]\"\n" +
102
- "\tscan_ssid=1\n" +
103
- "\tkey_mgmt=NONE\n" +
104
- "\tpriority=10\n" +
105
- "}\n" ;
100
+ "\tssid=\"[ssid]\"\n" +
101
+ "\twep_key0=\"[password]\"\n" +
102
+ "\tscan_ssid=1\n" +
103
+ "\tkey_mgmt=NONE\n" +
104
+ "\tpriority=10\n" +
105
+ "}\n" ;
106
106
107
107
var opentemplate = "network={\n" +
108
- "\tssid=\"[ssid]\"\n" +
109
- "\tscan_ssid=1\n" +
110
- "\tkey_mgmt=NONE\n" +
111
- "\tpriority=10\n" +
112
- "}\n" ;
108
+ "\tssid=\"[ssid]\"\n" +
109
+ "\tscan_ssid=1\n" +
110
+ "\tkey_mgmt=NONE\n" +
111
+ "\tpriority=10\n" +
112
+ "}\n" ;
113
113
114
114
115
115
var confentry = "" ;
@@ -198,7 +198,7 @@ exports.api_wifi_list_handler = function( req, res ) {
198
198
var access_points = { } ;
199
199
var debug = "" ;
200
200
201
- var addHighestSignal = function ( ssid , type , signal ) {
201
+ var addHighestSignal = function ( ssid , type , signal ) {
202
202
if ( ! access_points [ ssid ] ) {
203
203
access_points [ ssid ] = { ssid : ssid , type : type , signal : signal } ;
204
204
} else if ( access_points [ ssid ] . signal < signal ) {
You can’t perform that action at this time.
0 commit comments