diff mbox series

[4/5] BSD: Remove an outdated comment

Message ID 20200128165830.18611-4-roy@marples.name
State Accepted
Headers show
Series [1/5] BSD: Driver does not need to know about both wpa and hostap contexts | expand

Commit Message

Roy Marples Jan. 28, 2020, 4:58 p.m. UTC
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 | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c
index f1f6e378b..6b80d0252 100644
--- a/src/drivers/driver_bsd.c
+++ b/src/drivers/driver_bsd.c
@@ -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",