From c68d3da2985aad2a7dc7a2376071d0516d519440 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 21 May 2007 06:34:05 +0000 Subject: fix essid setting in adhoc mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7301 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/files/lib/wifi/madwifi.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'package') diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 9d539a08b..e24730f90 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -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 -- cgit v1.2.3