Backport r13793 to 8.09
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 1 Jan 2009 16:36:57 +0000 (16:36 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 1 Jan 2009 16:36:57 +0000 (16:36 +0000)
SVN-Revision: 13794

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

index 5ce288f6e634021d9106c98e30719251099db688..3ec5e3e9e7aa2ef7c7545e24601dea494c35dbf8 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);;