package/madwifi: fix typo in config handler
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 1 Jan 2009 13:59:06 +0000 (13:59 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 1 Jan 2009 13:59:06 +0000 (13:59 +0000)
SVN-Revision: 13793

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

index db7f057940087a320754eb69f2385d6eb8ddba8c..1b86c2603b731a07bbf9cfbc0e1cb9ad97359b70 100755 (executable)
@@ -31,7 +31,7 @@ scan_atheros() {
                esac
        done
 
-       case "${adhoc:+1}:${sta:+1}:${ap+1}" in
+       case "${adhoc:+1}:${sta:+1}:${ap:+1}" in
                # valid mode combinations
                1::) wds="";;
                1::1);;