aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2011-10-17 20:04:27 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-17 20:04:27 (GMT)
commit3c11382b6c480c986eba7098843cf8fba65671b9 (patch)
treed5554156c950452da84c95bbbc1277e15c3bd749
parentecff34271690e7a623d0a55a232700dcfab39f47 (diff)
downloadhostap-3c11382b6c480c986eba7098843cf8fba65671b9.zip
hostap-3c11382b6c480c986eba7098843cf8fba65671b9.tar.gz
hostap-3c11382b6c480c986eba7098843cf8fba65671b9.tar.bz2
Remove set_intra_bss() driver_ops
This has been replaced by the isolate parameter available through set_ap() calls.
-rw-r--r--src/drivers/driver.h7
-rw-r--r--src/drivers/driver_ndis.c1
-rw-r--r--wpa_supplicant/ap.c1
-rw-r--r--wpa_supplicant/driver_i.h8
4 files changed, 0 insertions, 17 deletions
diff --git a/src/drivers/driver.h b/src/drivers/driver.h
index dd36db9..3c9f91e 100644
--- a/src/drivers/driver.h
+++ b/src/drivers/driver.h
@@ -2131,13 +2131,6 @@ struct wpa_driver_ops {
int (*ampdu)(void *priv, int ampdu);
/**
- * set_intra_bss - Enables/Disables intra BSS bridging
- *
- * DEPRECATED - use set_ap() parameter isolate instead
- */
- int (*set_intra_bss)(void *priv, int enabled);
-
- /**
* get_radio_name - Get physical radio name for the device
* @priv: Private driver interface data
* Returns: Radio name or %NULL if not known
diff --git a/src/drivers/driver_ndis.c b/src/drivers/driver_ndis.c
index f7d5728..d77cc10 100644
--- a/src/drivers/driver_ndis.c
+++ b/src/drivers/driver_ndis.c
@@ -3305,7 +3305,6 @@ const struct wpa_driver_ops wpa_driver_ndis_ops = {
NULL /* set_noa */,
NULL /* set_p2p_powersave */,
NULL /* ampdu */,
- NULL /* set_intra_bss */,
NULL /* get_radio_name */,
NULL /* p2p_find */,
NULL /* p2p_stop_find */,
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index 882cac4..7b0cd21 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -431,7 +431,6 @@ int wpa_supplicant_create_ap(struct wpa_supplicant *wpa_s,
if (ssid->mode == WPAS_MODE_P2P_GO ||
ssid->mode == WPAS_MODE_P2P_GROUP_FORMATION)
params.p2p = 1;
- wpa_drv_set_intra_bss(wpa_s, wpa_s->conf->p2p_intra_bss);
#endif /* CONFIG_P2P */
if (wpa_s->parent->set_ap_uapsd)
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 2f439fc..b959962 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -444,14 +444,6 @@ static inline int wpa_drv_if_remove(struct wpa_supplicant *wpa_s,
return -1;
}
-static inline int wpa_drv_set_intra_bss(struct wpa_supplicant *wpa_s,
- int enabled)
-{
- if (wpa_s->driver->set_intra_bss)
- return wpa_s->driver->set_intra_bss(wpa_s->drv_priv, enabled);
- return -1;
-}
-
static inline int wpa_drv_remain_on_channel(struct wpa_supplicant *wpa_s,
unsigned int freq,
unsigned int duration)