diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-10 19:59:47 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-10 19:59:47 +0000 |
commit | 7652d259ba6b0b0235db1939e303fe902ab2528b (patch) | |
tree | 20942340fc3771863bc701cab7f27d8619121e6b /usr/local/www/interfaces_wlan.inc | |
parent | 6cec4795ae0e4b44d87a68674f94becbe209541c (diff) | |
download | pfsense-7652d259ba6b0b0235db1939e303fe902ab2528b.zip pfsense-7652d259ba6b0b0235db1939e303fe902ab2528b.tar.gz |
* Remove duplicate line
* Use wireless regex to deterimine chip type
Diffstat (limited to 'usr/local/www/interfaces_wlan.inc')
-rwxr-xr-x | usr/local/www/interfaces_wlan.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_wlan.inc b/usr/local/www/interfaces_wlan.inc index 670fcd7..2fe84b5 100755 --- a/usr/local/www/interfaces_wlan.inc +++ b/usr/local/www/interfaces_wlan.inc @@ -78,7 +78,6 @@ function wireless_config_post() { $optcfg['wireless']['standard'] = $_POST['standard']; $optcfg['wireless']['mode'] = $_POST['mode']; $optcfg['wireless']['ssid'] = $_POST['ssid']; - $optcfg['wireless']['ssid'] = $_POST['ssid']; $optcfg['wireless']['stationname'] = $_POST['stationname']; $optcfg['wireless']['channel'] = $_POST['channel']; $optcfg['wireless']['txpower'] = $_POST['txpower']; @@ -108,8 +107,7 @@ function wireless_config_print() { <tr> <td colspan="2" valign="top" class="listtopic">Wireless configuration</td> </tr> - - <?php if (stristr($optcfg['if'], "ath") == true): ?> + <?php if (preg_match($g['wireless_regex'], $optcfg['if'])): ?> <tr> <td valign="top" class="vncellreq">Standard</td> <td class="vtable"><select name="standard" class="formfld" id="standard"> |