summaryrefslogtreecommitdiffstats
path: root/src/lib/connections/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/connections/wireless')
-rw-r--r--src/lib/connections/wireless4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/connections/wireless b/src/lib/connections/wireless
index 870af51..88ca3e3 100644
--- a/src/lib/connections/wireless
+++ b/src/lib/connections/wireless
@@ -19,7 +19,7 @@ wireless_up() {
: ${TimeoutWPA:=15}
if [[ $RFKill ]]; then
- enable_rf "$Interface" "$RFKill" || return 1
+ rf_enable "$Interface" "$RFKill" || return 1
fi
# Kill any lingering WPA supplicants
@@ -73,7 +73,7 @@ wireless_down() {
wpa_stop "$Interface"
bring_interface_down "$Interface" || return 1
if [[ $RFKill ]]; then
- disable_rf "$Interface" "$RFKill"
+ rf_disable "$Interface" "$RFKill"
fi
}