Skip to content

Commit

Permalink
Allow creating not secured wi-fi. Fixes #208
Browse files Browse the repository at this point in the history
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
  • Loading branch information
D9ping committed Oct 12, 2018
1 parent ee41ed7 commit 2104f62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/hostapd.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -139,7 +139,7 @@ function DisplayHostAPDConfig()
$selectablechannels = range(1, 14);
}
}
SelectorOptions('channel', $selectablechannels, intval($arrConfig['channel']), 'cbxchannel') ?>
SelectorOptions('channel', $selectablechannels, intval($arrConfig['channel']), 'cbxchannel'); ?>
</div>
</div>
</div>
Expand Down

0 comments on commit 2104f62

Please sign in to comment.