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

@ -1159,7 +1159,6 @@ struct wpa_driver_ops {
/**
* set_beacon - Set Beacon frame template
* @iface: Interface name (main interface or virtual BSS)
* @priv: Private driver interface data
* @head: Beacon head from IEEE 802.11 header to IEs before TIM IE
* @head_len: Length of the head buffer in octets
@ -1174,8 +1173,7 @@ struct wpa_driver_ops {
* frame by concatenating the head part with TIM IE generated by the
* driver/firmware and finishing with the tail part.
*/
int (*set_beacon)(const char *ifname, void *priv,
const u8 *head, size_t head_len,
int (*set_beacon)(void *priv, const u8 *head, size_t head_len,
const u8 *tail, size_t tail_len, int dtim_period,
int beacon_int);