The branch main has been updated by bapt:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=95db9ef5657b1a3164f4fb4f9506c3da05f86443

commit 95db9ef5657b1a3164f4fb4f9506c3da05f86443
Author:     Baptiste Daroussin <[email protected]>
AuthorDate: 2022-06-11 20:04:56 +0000
Commit:     Baptiste Daroussin <[email protected]>
CommitDate: 2022-06-11 20:25:21 +0000

    rc.d/wpa_supplicant: remove support for NDIS
    
    ndis drivers have been remove long ago (early 2021)
---
 libexec/rc/rc.d/wpa_supplicant | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/libexec/rc/rc.d/wpa_supplicant b/libexec/rc/rc.d/wpa_supplicant
index 9e5f64a5373f..46cb8499e12b 100755
--- a/libexec/rc/rc.d/wpa_supplicant
+++ b/libexec/rc/rc.d/wpa_supplicant
@@ -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

Reply via email to