aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2011-03-15 11:02:49 (GMT)
committerJouni Malinen <j@w1.fi>2011-03-15 11:02:49 (GMT)
commite17a2477dbb6cc930ce0beb8678916b554674a4a (patch)
treeece043369321adbf841eaaf5a5dca1c1c2314f27 /wpa_supplicant/driver_i.h
parent6ca4da65182cc194f182e33ddb5bcf2925718459 (diff)
downloadhostap-e17a2477dbb6cc930ce0beb8678916b554674a4a.zip
hostap-e17a2477dbb6cc930ce0beb8678916b554674a4a.tar.gz
hostap-e17a2477dbb6cc930ce0beb8678916b554674a4a.tar.bz2
nl80211: Extend bridge add/del operations for secondary BSSes
Previously, only the main interface was added to a bridge. Extend this to apply to all configured BSSes.
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 682c56c..2f57af4 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -413,12 +413,12 @@ static inline int wpa_drv_if_add(struct wpa_supplicant *wpa_s,
enum wpa_driver_if_type type,
const char *ifname, const u8 *addr,
void *bss_ctx, char *force_ifname,
- u8 *if_addr)
+ u8 *if_addr, const char *bridge)
{
if (wpa_s->driver->if_add)
return wpa_s->driver->if_add(wpa_s->drv_priv, type, ifname,
addr, bss_ctx, NULL, force_ifname,
- if_addr);
+ if_addr, bridge);
return -1;
}