From 683789250d84820c1e4b2a0cba2e2f7880a1c9d8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 28 Aug 2008 12:41:55 +0000 Subject: [PATCH] madwifi: fix encryption type check SVN-Revision: 12421 --- package/madwifi/files/lib/wifi/madwifi.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.30.2