From 269c00418ccc64dc7224054d826047ac8b45a278 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 29 Apr 2007 20:50:42 +0000 Subject: madwifi: fix static bssid setting for ad-hoc mode SVN-Revision: 7067 --- package/madwifi/files/lib/wifi/madwifi.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/madwifi/files') diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 69874b5..69230a7 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -142,15 +142,15 @@ enable_atheros() { config_get addr "$vif" bssid iwpriv "$ifname" wds_add "$addr" ;; - *) - config_get ssid "$vif" ssid - ;; adhoc) config_get addr "$vif" bssid [ -z "$addr" ] || { iwconfig "$ifname" ap "$addr" } ;; + *) + config_get ssid "$vif" ssid + ;; esac [ "$mode" = "sta" ] && { -- cgit v1.1