From 253a263caa94b78feb2a5803b6cfe5d30272dcf3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 28 Aug 2008 12:41:55 +0000 Subject: madwifi: fix encryption type check git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12421 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/files/lib/wifi/madwifi.sh | 3 +-- 1 file changed, 1 insertion(+), 2 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 0b24886903..001ea0933d 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -151,9 +151,8 @@ enable_atheros() { *) iwconfig "$ifname" enc "$key";; esac ;; - PSK|psk|PSK2|psk2) + psk*|wpa*) start_hostapd=1 - config_get key "$vif" key ;; esac -- cgit v1.2.3