summaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-04 11:31:40 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-04 11:31:40 +0000
commit919ea92c4770b7ef2c0bb94491d27c8a7cc1c187 (patch)
tree14214a261248e61e1ebd3ebc5e08e1aa7ac9be9b /package/madwifi
parent5493237787921b373a914261b1298ff50efad622 (diff)
add a missing variable assignment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8339 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 13631818f..9f464065a 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