summaryrefslogtreecommitdiffstats
path: root/src/connections
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2009-04-28 14:15:43 +0200
committerJames Rayner <james@archlinux.org>2009-04-28 14:15:43 +0200
commit7b31dcd7b6da4f26db8f09924adc059f5a6ee589 (patch)
treeb58eacd9ad091bb42d242af6946e259d0623888d /src/connections
parent9f8ec61efe91504d6cad6c4b99a748ce316187f6 (diff)
downloadnetctl-7b31dcd7b6da4f26db8f09924adc059f5a6ee589.tar.gz
netctl-7b31dcd7b6da4f26db8f09924adc059f5a6ee589.tar.xz
Add WEP support to wireless-dbus, remove broken interface type check in wireless
Diffstat (limited to 'src/connections')
-rw-r--r--src/connections/wireless5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/connections/wireless b/src/connections/wireless
index c614c6f..8707ed8 100644
--- a/src/connections/wireless
+++ b/src/connections/wireless
@@ -7,11 +7,6 @@ wireless_up() {
. ${SUBR_DIR}/wireless
- if [[ ! -d /sys/class/net/$INTERFACE/phy80211 ]]; then
- err_append "$INTERFACE is not a valid wireless interface."
- return 1
- fi
-
# Kill any lingering wpa_supplicants.
if [[ -f /var/run/wpa_supplicant_$INTERFACE.pid ]]; then
kill $(cat /var/run/wpa_supplicant_$INTERFACE.pid)