madwifi: fix encryption type check

SVN-Revision: 12421
master
Felix Fietkau 17 years ago
parent a2e70fed22
commit 683789250d
  1. 3
      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

Loading…
Cancel
Save