2007-08-30 13:15:41

by Johannes Berg

[permalink] [raw]
Subject: [PATCH] hostapd: driver_devicescape: remove set_broadcast_ssid

mac80211 doesn't have any drivers that care about this flag which
is not really surprising: hostapd is responsible for this setting
since it creates the beacon. Remove the callback.

Signed-off-by: Johannes Berg <[email protected]>

---
hostapd/driver_devicescape.c | 9 ---------
1 file changed, 9 deletions(-)

--- hostap.orig/hostapd/driver_devicescape.c 2007-08-30 15:15:23.000000000 +0200
+++ hostap/hostapd/driver_devicescape.c 2007-08-30 15:15:24.000000000 +0200
@@ -929,14 +929,6 @@ static int i802_set_dtim_period(const ch
}


-static int i802_set_broadcast_ssid(void *priv, int value)
-{
- struct i802_driver_data *drv = priv;
- return hostap_ioctl_prism2param(drv, PRISM2_PARAM_BROADCAST_SSID,
- value);
-}
-
-
static int i802_set_cts_protect(void *priv, int value)
{
struct i802_driver_data *drv = priv;
@@ -1993,7 +1985,6 @@ const struct wpa_driver_ops wpa_driver_d
.set_internal_bridge = i802_set_internal_bridge,
.set_beacon_int = i802_set_beacon_int,
.set_dtim_period = i802_set_dtim_period,
- .set_broadcast_ssid = i802_set_broadcast_ssid,
.set_cts_protect = i802_set_cts_protect,
.set_preamble = i802_set_preamble,
.set_short_slot_time = i802_set_short_slot_time,




2007-09-03 23:40:46

by Jouni Malinen

[permalink] [raw]
Subject: Re: [PATCH] hostapd: driver_devicescape: remove set_broadcast_ssid

On Thu, Aug 30, 2007 at 03:16:52PM +0200, Johannes Berg wrote:
> mac80211 doesn't have any drivers that care about this flag which
> is not really surprising: hostapd is responsible for this setting
> since it creates the beacon. Remove the callback.

Thanks! Applied.

--
Jouni Malinen PGP id EFC895FA