Fix get_interfaces() driver call to use correct drv_priv data
This commit is contained in:
parent
843123590a
commit
5fbc1f279b
1 changed files with 1 additions and 1 deletions
|
@ -2032,7 +2032,7 @@ static int wpa_supplicant_global_iface_list(struct wpa_global *global,
|
||||||
struct wpa_driver_ops *drv = wpa_drivers[i];
|
struct wpa_driver_ops *drv = wpa_drivers[i];
|
||||||
if (drv->get_interfaces == NULL)
|
if (drv->get_interfaces == NULL)
|
||||||
continue;
|
continue;
|
||||||
tmp = drv->get_interfaces(global->drv_priv);
|
tmp = drv->get_interfaces(global->drv_priv[i]);
|
||||||
if (tmp == NULL)
|
if (tmp == NULL)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue