aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-02-16 17:34:51 (GMT)
committerJouni Malinen <j@w1.fi>2010-02-16 17:34:51 (GMT)
commitb7a2b0b68cb870a6744851495a766ecbb8bfc6fe (patch)
treef292f256052aaf358558abe3e001b0285c0b6854 /wpa_supplicant/driver_i.h
parent01b350ed740f1aeef7328f4b6bb17867ee3f9dbf (diff)
downloadhostap-b7a2b0b68cb870a6744851495a766ecbb8bfc6fe.zip
hostap-b7a2b0b68cb870a6744851495a766ecbb8bfc6fe.tar.gz
hostap-b7a2b0b68cb870a6744851495a766ecbb8bfc6fe.tar.bz2
Add alloc_interface_addr() drv op option for specifying ifname
Some drivers may need to use a specific ifname for the virtual interface, so allow them to do this with a new parameter passed to the alloc_interface_addr() handler.
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 203cbfc..bd31253 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -397,11 +397,11 @@ static inline int wpa_drv_send_action(struct wpa_supplicant *wpa_s,
}
static inline int wpa_drv_alloc_interface_addr(struct wpa_supplicant *wpa_s,
- u8 *addr)
+ u8 *addr, char *ifname)
{
if (wpa_s->driver->alloc_interface_addr)
return wpa_s->driver->alloc_interface_addr(wpa_s->drv_priv,
- addr);
+ addr, ifname);
return -1;
}