diff options
Diffstat (limited to 'lib/network/connection')
-rw-r--r-- | lib/network/connection/cellular_card.pm | 1 | ||||
-rw-r--r-- | lib/network/connection/wireless.pm | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index c709649..3d90771 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -83,6 +83,7 @@ sub get_networks { current => $state == 2, } }; + $self->SUPER::get_networks; } sub get_hardware_settings { diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm index 9bca85a..b290ac6 100644 --- a/lib/network/connection/wireless.pm +++ b/lib/network/connection/wireless.pm @@ -314,7 +314,7 @@ sub get_networks { my ($self) = @_; require network::monitor; ($self->{networks}, $self->{control}{roaming}) = network::monitor::list_wireless(undef, $self->get_interface); - $self->{networks}; + $self->SUPER::get_networks; } sub refresh_roaming_ids { |