diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-06 23:57:42 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-06 23:57:42 -0700 |
commit | 23fdc06e2e5a3ef6958dba9f90aefd05d5a43542 (patch) | |
tree | f0953247a2f9fe8f2f8afb6455ebeb02473b02f9 /etc/inc/interfaces.inc | |
parent | 39c1349ce1f61d66093692394919378029aa5cfa (diff) | |
download | pfsense-23fdc06e2e5a3ef6958dba9f90aefd05d5a43542.zip pfsense-23fdc06e2e5a3ef6958dba9f90aefd05d5a43542.tar.gz |
The mode must be specified in a separate command before ifconfig will allow the mode and channel to be changed.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index b15567b..88fc9e2 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1717,6 +1717,10 @@ EOD; fclose($fd_set); conf_mount_ro(); + /* The mode must be specified in a separate command before ifconfig + * will allow the mode and channel at the same time in the next. */ + mwexec("/sbin/ifconfig {$if} mode " . escapeshellarg($wlcfg['standard'])); + /* configure wireless */ $wlcmd_args = implode(" ", $wlcmd); mwexec("/sbin/ifconfig {$if} $wlcmd_args", false); |