]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - hostapd/driver_i.h
Remove direct driver calls from beacon.c
[thirdparty/hostap.git] / hostapd / driver_i.h
index 24850dc3f67e255f14b76999405647a065e93c8f..a62ab417bb65e7f8e08da85221d79c227940cd1e 100644 (file)
@@ -255,19 +255,6 @@ hostapd_set_country(struct hostapd_data *hapd, const char *country)
        return hapd->driver->set_country(hapd->drv_priv, country);
 }
 
-static inline int
-hostapd_set_beacon(const char *ifname, struct hostapd_data *hapd,
-                  const u8 *head, size_t head_len,
-                  const u8 *tail, size_t tail_len, int dtim_period,
-                  int beacon_int)
-{
-       if (hapd->driver == NULL || hapd->driver->set_beacon == NULL)
-               return 0;
-       return hapd->driver->set_beacon(ifname, hapd->drv_priv,
-                                       head, head_len, tail, tail_len,
-                                       dtim_period, beacon_int);
-}
-
 static inline int
 hostapd_set_cts_protect(struct hostapd_data *hapd, int value)
 {