fix essid setting in adhoc mode
authorFelix Fietkau <nbd@openwrt.org>
Mon, 21 May 2007 06:34:05 +0000 (06:34 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 21 May 2007 06:34:05 +0000 (06:34 +0000)
SVN-Revision: 7301

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

index 9d539a0..e24730f 100755 (executable)
@@ -148,10 +148,8 @@ enable_atheros() {
                                        iwconfig "$ifname" ap "$addr"
                                }
                        ;;
-                       *)
-                               config_get ssid "$vif" ssid
-                       ;;
                esac
+               config_get ssid "$vif" ssid
 
                [ "$mode" = "sta" ] && {
                        config_get_bool bgscan "$vif" bgscan 1