diff options
author | Jani Välimaa <wally@mageia.org> | 2023-10-22 20:02:42 +0300 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2023-10-22 20:02:42 +0300 |
commit | 6b9b3e0abe3e2f8475884ba205d6b9b692d3edb5 (patch) | |
tree | 9b7111c85344bdbef728ab9a24d08edd8158cc01 /lib | |
parent | 3e7aa45ef7002c78459a58fddb7799990bae8013 (diff) | |
download | drakx-net-6b9b3e0abe3e2f8475884ba205d6b9b692d3edb5.tar drakx-net-6b9b3e0abe3e2f8475884ba205d6b9b692d3edb5.tar.gz drakx-net-6b9b3e0abe3e2f8475884ba205d6b9b692d3edb5.tar.bz2 drakx-net-6b9b3e0abe3e2f8475884ba205d6b9b692d3edb5.tar.xz drakx-net-6b9b3e0abe3e2f8475884ba205d6b9b692d3edb5.zip |
Remove unused wpa_supplicant_get_driver()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/connection/wireless.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm index ba7e245..9b58970 100644 --- a/lib/network/connection/wireless.pm +++ b/lib/network/connection/wireless.pm @@ -920,15 +920,6 @@ sub wlan_ng_configure { services::restart($module eq 'prism2_cs' ? 'pcmcia' : 'wlan'); } -sub wpa_supplicant_get_driver { - my ($module) = @_; - $module =~ /^hostap_/ ? "hostap" : - $module eq "prism54" ? "prism54" : - $module =~ /^ath_/ ? "madwifi" : - $module =~ /^at76c50|atmel_/ ? "atmel" : - "wext"; -} - sub wpa_supplicant_add_network { my ($ui_input) = @_; my $conf = wpa_supplicant_read_conf(); |