summaryrefslogtreecommitdiffstats
path: root/src/connections
diff options
context:
space:
mode:
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)