function init_wifiscan() {
	send("/cgi-bin/misc", {
		func: 'wifi_status'
	}, function(data) {
		var data = JSON.parse(data);
		for (let device in data) {
			var interfaces = data[device].interfaces;
			if (interfaces.length === 0) {
				continue;
			}
			for (let aninterface in interfaces) {
				var ifname = interfaces[aninterface].ifname;
				if (typeof(ifname) === 'string') {
					add_list_entry(device, ifname);
				}
			}
		}
	});
}
/*
 * Create a selection of wireless devices
 */
Create a selection of wireless devices
Create a selection of wireless devices
function init_wifiscan() {
	send("/cgi-bin/misc", {
		func: 'wifi_status'
	}, function(data) {
		var data = JSON.parse(data);
		for (let device in data) {
			var interfaces = data[device].interfaces;
			if (interfaces.length === 0) {
				continue;
			}
			for (let aninterface in interfaces) {
				var ifname = interfaces[aninterface].ifname;
				if (typeof(ifname) === 'string') {
					add_list_entry(device, ifname);
				}
			}
		}
	});
}
function init_wifiscan ( ) { send ( "/cgi-bin/misc" , { func : 'wifi_status' } , function ( data ) { var data = JSON . parse ( data ) ; for ( let device in data ) { var interfaces = data [ device ] . interfaces ; if ( interfaces . length === 0 ) { continue ; } for ( let aninterface in interfaces ) { var ifname = interfaces [ aninterface ] . ifname ; if ( typeof ( ifname ) === 'string' ) { add_list_entry ( device , ifname ) ; } } } } ) ; }
Create a selection of wireless devices
Create a selection of wireless devices