mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Allow creating not secured wi-fi. Fixes #208
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
This commit is contained in:
		| @@ -14,7 +14,7 @@ function DisplayHostAPDConfig() | ||||
|  | ||||
|   $arrConfig = array(); | ||||
|   $arr80211Standard = array('a','b','g','n'); | ||||
|   $arrSecurity = array( 1 => 'WPA', 2 => 'WPA2',3=> 'WPA+WPA2'); | ||||
|   $arrSecurity = array(1 => 'WPA', 2 => 'WPA2', 3 => 'WPA+WPA2', 'none' => _("None")); | ||||
|   $arrEncType = array('TKIP' => 'TKIP', 'CCMP' => 'CCMP', 'TKIP CCMP' => 'TKIP+CCMP'); | ||||
|   exec("ip -o link show | awk -F': ' '{print $2}'", $interfaces); | ||||
|  | ||||
| @@ -139,7 +139,7 @@ if (in_array($arrConfig['country_code'], $countries_max11channels)) { | ||||
|         $selectablechannels = range(1, 14); | ||||
|     } | ||||
| } | ||||
|                     SelectorOptions('channel', $selectablechannels, intval($arrConfig['channel']), 'cbxchannel') ?> | ||||
|                     SelectorOptions('channel', $selectablechannels, intval($arrConfig['channel']), 'cbxchannel'); ?> | ||||
|                   </div> | ||||
|                 </div> | ||||
|               </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user