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 9d539a08b0aae4002538656e160e21dbdc4dccde..e24730f905dd03a081bdfe97bfe4e159c42ea6d1 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