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

@ -429,8 +429,7 @@ void ieee802_11_set_beacon(struct hostapd_data *hapd)
tail_len = tailpos > tail ? tailpos - tail : 0;
if (hapd->drv.set_beacon(hapd->conf->iface, hapd,
(u8 *) head, head_len,
if (hapd->drv.set_beacon(hapd, (u8 *) head, head_len,
tail, tail_len, hapd->conf->dtim_period,
hapd->iconf->beacon_int))
wpa_printf(MSG_ERROR, "Failed to set beacon head/tail or DTIM "