Browse Source

Remove set_intra_bss() driver_ops

This has been replaced by the isolate parameter available through
set_ap() calls.
Jouni Malinen 13 years ago
parent
commit
3c11382b6c
4 changed files with 0 additions and 17 deletions
  1. 0 7
      src/drivers/driver.h
  2. 0 1
      src/drivers/driver_ndis.c
  3. 0 1
      wpa_supplicant/ap.c
  4. 0 8
      wpa_supplicant/driver_i.h

+ 0 - 7
src/drivers/driver.h

@@ -2130,13 +2130,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

+ 0 - 1
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 */,

+ 0 - 1
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)

+ 0 - 8
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)