summaryrefslogtreecommitdiffstats
path: root/src/connections/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'src/connections/wireless')
-rw-r--r--src/connections/wireless1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connections/wireless b/src/connections/wireless
index 688fa98..f521465 100644
--- a/src/connections/wireless
+++ b/src/connections/wireless
@@ -118,6 +118,7 @@ wireless_down() {
wpa_cli terminate &> /dev/null
[[ "$SECURITY" == "wpa" ]] && rm -f "/tmp/wpa.${1// /}" # remove wpa config
iwconfig $INTERFACE essid off key off &> /dev/null
+ ifconfig $INTERFACE down
}
wireless_$1 $2