Remove unneeded iface parameter from if_add() driver op
This commit is contained in:
parent
17557ebe30
commit
7ab68865c0
4 changed files with 11 additions and 13 deletions
|
@ -1488,7 +1488,6 @@ struct wpa_driver_ops {
|
|||
|
||||
/**
|
||||
* if_add - Add a virtual interface
|
||||
* @iface: Parent interface name
|
||||
* @priv: Private driver interface data
|
||||
* @type: Interface type
|
||||
* @ifname: Interface name for the new virtual interface
|
||||
|
@ -1499,9 +1498,9 @@ struct wpa_driver_ops {
|
|||
* not allowed (applies only to %WPA_IF_AP_BSS type)
|
||||
* Returns: 0 on success, -1 on failure
|
||||
*/
|
||||
int (*if_add)(const char *iface, void *priv,
|
||||
enum wpa_driver_if_type type, const char *ifname,
|
||||
const u8 *addr, void *bss_ctx, void **drv_priv);
|
||||
int (*if_add)(void *priv, enum wpa_driver_if_type type,
|
||||
const char *ifname, const u8 *addr, void *bss_ctx,
|
||||
void **drv_priv);
|
||||
|
||||
/**
|
||||
* if_remove - Remove a virtual interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue