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 <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer 2021-02-16 17:44:45 +01:00
parent e902ebe3be
commit 55209df391
1 changed files with 1 additions and 3 deletions

View File

@ -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