Fix get_interfaces() driver call to use correct drv_priv data

This commit is contained in:
Jouni Malinen 2010-04-14 16:38:53 +03:00 committed by Jouni Malinen
parent 843123590a
commit 5fbc1f279b

View file

@ -2032,7 +2032,7 @@ static int wpa_supplicant_global_iface_list(struct wpa_global *global,
struct wpa_driver_ops *drv = wpa_drivers[i];
if (drv->get_interfaces == NULL)
continue;
tmp = drv->get_interfaces(global->drv_priv);
tmp = drv->get_interfaces(global->drv_priv[i]);
if (tmp == NULL)
continue;