aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_atheros.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-07 09:29:17 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-07 09:29:17 (GMT)
commitd5dd016a8acd41e5b74804da492d1f9706ff6345 (patch)
tree5b441b43a6f9dcc019eb1bd67a31cd0c0df75aeb /src/drivers/driver_atheros.c
parent044372a3336ead763980aeffb69c859a6b291775 (diff)
downloadhostap-d5dd016a8acd41e5b74804da492d1f9706ff6345.zip
hostap-d5dd016a8acd41e5b74804da492d1f9706ff6345.tar.gz
hostap-d5dd016a8acd41e5b74804da492d1f9706ff6345.tar.bz2
Remove unneeded ifname parameter from set_privacy() driver op
Diffstat (limited to 'src/drivers/driver_atheros.c')
-rw-r--r--src/drivers/driver_atheros.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index 94e139a..77e4418 100644
--- a/src/drivers/driver_atheros.c
+++ b/src/drivers/driver_atheros.c
@@ -304,7 +304,7 @@ madwifi_set_ieee8021x(void *priv, struct wpa_bss_params *params)
}
static int
-madwifi_set_privacy(const char *ifname, void *priv, int enabled)
+madwifi_set_privacy(void *priv, int enabled)
{
struct madwifi_driver_data *drv = priv;
@@ -1110,7 +1110,7 @@ madwifi_init(struct hostapd_data *hapd, struct wpa_init_params *params)
/* mark down during setup */
linux_set_iface_flags(drv->ioctl_sock, drv->iface, 0);
- madwifi_set_privacy(drv->iface, drv, 0); /* default to no privacy */
+ madwifi_set_privacy(drv, 0); /* default to no privacy */
madwifi_receive_probe_req(drv);