summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/network/connection/cellular_bluetooth.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/network/connection/cellular_bluetooth.pm b/lib/network/connection/cellular_bluetooth.pm
index cc75be7..912438c 100644
--- a/lib/network/connection/cellular_bluetooth.pm
+++ b/lib/network/connection/cellular_bluetooth.pm
@@ -10,7 +10,11 @@ my $rfcomm_dev_prefix = "/dev/rfcomm";
sub get_type_name { N("Bluetooth") }
sub get_type_description { N("Bluetooth Dial Up Networking") }
sub _get_type_icon { 'bluetooth' }
-sub get_devices { search_services('DUN') }
+sub get_devices {
+ my ($_class, %options) = @_;
+ ($options{fast_only} ? () : search_services('DUN'));
+}
+
sub get_metric { 45 }
sub get_interface { "ppp0" }