add a missing variable assignment
authorFelix Fietkau <nbd@openwrt.org>
Sat, 4 Aug 2007 11:31:40 +0000 (11:31 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 4 Aug 2007 11:31:40 +0000 (11:31 +0000)
SVN-Revision: 8339

package/madwifi/files/lib/wifi/madwifi.sh

index 13631818ffb30da13c1ec6110bfd3cc017859297..9f464065a73287e096c25f5194612dd9a9d03a7b 100755 (executable)
@@ -71,6 +71,7 @@ disable_atheros() (
 )
 
 enable_atheros() {
+       local device="$1"
        config_get channel "$device" channel
        config_get vifs "$device" vifs