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:
parent
e902ebe3be
commit
55209df391
|
@ -275,9 +275,7 @@ function wpa_supplicant_start() {
|
||||||
# Build wpa_supplicant command line.
|
# Build wpa_supplicant command line.
|
||||||
local wpa_suppl_cmd="wpa_supplicant -B -qqq -i${device} -c${config}"
|
local wpa_suppl_cmd="wpa_supplicant -B -qqq -i${device} -c${config}"
|
||||||
|
|
||||||
if device_is_wireless ${device}; then
|
if ! device_is_wireless ${device}; then
|
||||||
wpa_suppl_cmd="${wpa_suppl_cmd} -Dwext"
|
|
||||||
else
|
|
||||||
wpa_suppl_cmd="${wpa_suppl_cmd} -Dwired"
|
wpa_suppl_cmd="${wpa_suppl_cmd} -Dwired"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue