]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
BSD: Remove an outdated comment
authorRoy Marples <roy@marples.name>
Tue, 28 Jan 2020 16:58:29 +0000 (16:58 +0000)
committerJouni Malinen <jouni@codeaurora.org>
Sun, 2 Feb 2020 19:46:57 +0000 (21:46 +0200)
With interface matching support, wpa_supplicant can wait for an
interface to appear.

Signed-off-by: Roy Marples <roy@marples.name>
src/drivers/driver_bsd.c

index d788753cdbc46c7928c5029e759e095be53a6e41..d0eac901fd945f049f96b85af2cc8104dfb30ad1 100644 (file)
@@ -1478,12 +1478,6 @@ wpa_driver_bsd_init(void *ctx, const char *ifname, void *priv)
        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",