aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-08-04 11:31:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-08-04 11:31:40 +0000
commit8fd798cb2c77e95783f420885f41aa49d6b7328f (patch)
tree0a14b686c852973578739975dc554c8c4aa7cf09 /package/madwifi/files
parentb085680b969e158c4f17c0463976714e1083fec2 (diff)
downloadupstream-8fd798cb2c77e95783f420885f41aa49d6b7328f.tar.gz
upstream-8fd798cb2c77e95783f420885f41aa49d6b7328f.tar.bz2
upstream-8fd798cb2c77e95783f420885f41aa49d6b7328f.zip
add a missing variable assignment
SVN-Revision: 8339
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 13631818ff..9f464065a7 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -71,6 +71,7 @@ disable_atheros() (
)
enable_atheros() {
+ local device="$1"
config_get channel "$device" channel
config_get vifs "$device" vifs