Remove unnecessary ifname parameter from set_beacon()

The new per-BSS driver context makes this unnecessary.
This commit is contained in:
Jouni Malinen 2010-03-06 22:36:40 +02:00
parent 53f3d6f3e6
commit 8b897f5a17
5 changed files with 7 additions and 10 deletions

View file

@ -227,14 +227,14 @@ static int hostapd_set_bss_params(struct hostapd_data *hapd,
}
static int hostapd_set_beacon(const char *ifname, struct hostapd_data *hapd,
static int hostapd_set_beacon(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,
return hapd->driver->set_beacon(hapd->drv_priv,
head, head_len, tail, tail_len,
dtim_period, beacon_int);
}