summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index c0a07f0c3..8ba1cc775 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -708,7 +708,7 @@ sub pcmcia_controller_probe() {
sub real_pcmcia_probe() {
return if $::testing;
- c::pcmcia_probe() || (find { $_->{driver} eq 'yenta_socket' } pci_probe()) && 'yenta_socket';
+ c::pcmcia_probe() || (pcmcia_controller_probe())[0]->{driver};
}
sub pcmcia_probe() {