diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-02-26 17:39:23 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-02-26 17:39:23 +0000 |
commit | 05ea23cd891b490a0702c927a6138fd0eb756920 (patch) | |
tree | 4362dd165006fd5f37d7e1bf44ead87e34fd4b2a /lib/network/connection/cellular_bluetooth.pm | |
parent | 28b910c1ae330cce561f120fdcb714fee46a0afe (diff) | |
download | drakx-net-05ea23cd891b490a0702c927a6138fd0eb756920.tar drakx-net-05ea23cd891b490a0702c927a6138fd0eb756920.tar.gz drakx-net-05ea23cd891b490a0702c927a6138fd0eb756920.tar.bz2 drakx-net-05ea23cd891b490a0702c927a6138fd0eb756920.tar.xz drakx-net-05ea23cd891b490a0702c927a6138fd0eb756920.zip |
do not run sdptool search when detecting connections in fast mode
Diffstat (limited to 'lib/network/connection/cellular_bluetooth.pm')
-rw-r--r-- | lib/network/connection/cellular_bluetooth.pm | 6 |
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" } |