mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Default to 11ng if an option hasn't been configured. Previously we let the browser pick the first in the list (the first the card reported as available), which ended up being 802.11b. Ticket #4516
This commit is contained in:
parent
771ca94f69
commit
e4909df4de
@ -2953,8 +2953,14 @@ $types6 = array("none" => gettext("None"), "staticv6" => gettext("Static IPv6"),
|
||||
foreach($wl_modes as $wl_standard => $wl_channels) {
|
||||
$rowIndex++;
|
||||
echo "<option ";
|
||||
if ($pconfig['standard'] == "$wl_standard")
|
||||
if ($pconfig['standard'] == "$wl_standard") {
|
||||
echo "selected=\"selected\" ";
|
||||
}
|
||||
if ($pconfig['standard'] == "") {
|
||||
if ($wl_standard == "11ng") {
|
||||
echo "selected=\"selected\" ";
|
||||
}
|
||||
}
|
||||
echo "value=\"$wl_standard\">802.$wl_standard</option>\n";
|
||||
}
|
||||
if ($rowIndex == 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user