From: Michael Tremer Date: Tue, 16 Feb 2021 16:44:45 +0000 (+0100) Subject: wlanclient: Do not force using legacy interface to talk to the kernel X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=55209df391e11bf97ec1cda2dbf90aa365c75761;p=people%2Fms%2Fipfire-2.x.git wlanclient: Do not force using legacy interface to talk to the kernel "wireless extensions" is the old interface to speak to the kernel. All newer drivers support nl80211 now. Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/system/wlanclient b/src/initscripts/system/wlanclient index 4b3938b466..338a743ab7 100644 --- a/src/initscripts/system/wlanclient +++ b/src/initscripts/system/wlanclient @@ -275,9 +275,7 @@ function wpa_supplicant_start() { # Build wpa_supplicant command line. local wpa_suppl_cmd="wpa_supplicant -B -qqq -i${device} -c${config}" - if device_is_wireless ${device}; then - wpa_suppl_cmd="${wpa_suppl_cmd} -Dwext" - else + if ! device_is_wireless ${device}; then wpa_suppl_cmd="${wpa_suppl_cmd} -Dwired" fi