summaryrefslogtreecommitdiff
path: root/package/madwifi
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
parentb085680b969e158c4f17c0463976714e1083fec2 (diff)
downloadmtk-20170518-8fd798cb2c77e95783f420885f41aa49d6b7328f.zip
mtk-20170518-8fd798cb2c77e95783f420885f41aa49d6b7328f.tar.gz
mtk-20170518-8fd798cb2c77e95783f420885f41aa49d6b7328f.tar.bz2
add a missing variable assignment
SVN-Revision: 8339
Diffstat (limited to 'package/madwifi')
-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 1363181..9f46406 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