diff options
Diffstat (limited to 'usr/local/www/interfaces_wlan.inc')
-rwxr-xr-x | usr/local/www/interfaces_wlan.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_wlan.inc b/usr/local/www/interfaces_wlan.inc index 9354e72..4d06dd4 100755 --- a/usr/local/www/interfaces_wlan.inc +++ b/usr/local/www/interfaces_wlan.inc @@ -344,6 +344,7 @@ function wireless_config_print() { <tr> <td valign="top" class="vncellreq">Channel</td> <td class="vtable"><select name="channel" class="formfld" id="channel"> + <option <? if ($pconfig['channel'] == 0) echo "selected";?> value="0"><?=gettext("Auto");?></option> <?php foreach($wl_modes as $wl_standard => $wl_channels) { if($wl_standard == "11g") { $wl_standard = "11b/g"; } @@ -359,8 +360,6 @@ function wireless_config_print() { </select> <br/> Note: Not all channels may be supported by your card - <br/> - use "ifconfig interface list channel" to list channels.</td> </tr> <tr> <td valign="top" class="vncell">Distance setting</td> |