summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2023-10-22 20:01:51 +0300
committerJani Välimaa <wally@mageia.org>2023-10-22 20:01:51 +0300
commit3e7aa45ef7002c78459a58fddb7799990bae8013 (patch)
treedef4f5e4dfbc934c1db67120eb63e3fd3e83c313
parent880d433cb4c3c05d7f46d65865ac2f9e1566dbf6 (diff)
downloaddrakx-net-3e7aa45ef7002c78459a58fddb7799990bae8013.tar
drakx-net-3e7aa45ef7002c78459a58fddb7799990bae8013.tar.gz
drakx-net-3e7aa45ef7002c78459a58fddb7799990bae8013.tar.bz2
drakx-net-3e7aa45ef7002c78459a58fddb7799990bae8013.tar.xz
drakx-net-3e7aa45ef7002c78459a58fddb7799990bae8013.zip
Prefer nl80211 as a wpa driver, and use wext as a backup (mga#32130)
-rw-r--r--NEWS2
-rw-r--r--lib/network/connection/wireless.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5bc5a43..0b25095 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- prefer nl80211 as a wpa driver, and use wext as a backup (mga#32130)
+
2.58
- revert change of default DHCP client to dhcpcd and removal of dhclient (mga#30938)
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index 4b74310..ba7e245 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -699,7 +699,7 @@ sub build_ifcfg_settings {
my $settings = {
WIRELESS_MODE => $self->{access}{network}{mode},
if_($self->need_wpa_supplicant,
- WIRELESS_WPA_DRIVER => wpa_supplicant_get_driver($self->get_driver),
+ WIRELESS_WPA_DRIVER => 'nl80211,wext',
WIRELESS_WPA_REASSOCIATE => bool2yesno($self->need_wpa_supplicant_reassociate),
MII_NOT_SUPPORTED => 'no',
),