Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/wpa/dist/src/drivers wpa: Remove an outdated co...



details:   https://anonhg.NetBSD.org/src/rev/7298a607bb98
branches:  trunk
changeset: 744307:7298a607bb98
user:      roy <roy%NetBSD.org@localhost>
date:      Wed Jan 29 11:46:47 2020 +0000

description:
wpa: Remove an outdated comment

With interface matching support, wpa_supplicant can wait for an
interface to appear.

diffstat:

 external/bsd/wpa/dist/src/drivers/driver_bsd.c |  6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diffs (16 lines):

diff -r c74027d01794 -r 7298a607bb98 external/bsd/wpa/dist/src/drivers/driver_bsd.c
--- a/external/bsd/wpa/dist/src/drivers/driver_bsd.c    Wed Jan 29 11:45:54 2020 +0000
+++ b/external/bsd/wpa/dist/src/drivers/driver_bsd.c    Wed Jan 29 11:46:47 2020 +0000
@@ -1502,12 +1502,6 @@
        if (drv == NULL)
                return NULL;
 
-       /*
-        * NB: We require the interface name be mappable to an index.
-        *     This implies we do not support having wpa_supplicant
-        *     wait for an interface to appear.  This seems ok; that
-        *     doesn't belong here; it's really the job of devd.
-        */
        drv->ifindex = if_nametoindex(ifname);
        if (drv->ifindex == 0) {
                wpa_printf(MSG_DEBUG, "%s: interface %s does not exist",



Home | Main Index | Thread Index | Old Index