From: Felix Fietkau Date: Thu, 28 Aug 2008 12:41:55 +0000 (+0000) Subject: madwifi: fix encryption type check X-Git-Tag: reboot~25689 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=683789250d84820c1e4b2a0cba2e2f7880a1c9d8;p=openwrt%2Fstaging%2Fchunkeey.git madwifi: fix encryption type check SVN-Revision: 12421 --- 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