mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 19:28:36 +00:00
rc.d/wpa_supplicant: remove support for NDIS
ndis drivers have been remove long ago (early 2021)
This commit is contained in:
parent
9fd0d9b16e
commit
95db9ef565
|
@ -20,14 +20,6 @@ if [ -z "$ifn" ]; then
|
|||
return 1
|
||||
fi
|
||||
|
||||
is_ndis_interface()
|
||||
{
|
||||
case `sysctl -n net.wlan.${1#wlan}.%parent 2>/dev/null` in
|
||||
ndis*) true ;;
|
||||
*) false ;;
|
||||
esac
|
||||
}
|
||||
|
||||
wpa_poststart() {
|
||||
ifconfig ${ifn} down
|
||||
sleep 2
|
||||
|
@ -36,8 +28,6 @@ wpa_poststart() {
|
|||
|
||||
if is_wired_interface ${ifn} ; then
|
||||
driver="wired"
|
||||
elif is_ndis_interface ${ifn} ; then
|
||||
driver="ndis"
|
||||
else
|
||||
driver="bsd"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue