aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_atheros.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-12 21:32:44 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-12 21:32:44 (GMT)
commite3bd3912ca50d4f694a459d700988ea4fdbc5af4 (patch)
treefd8a86cf4a906e9a2d2e45d0423e399b602d30aa /src/drivers/driver_atheros.c
parent08fd8c15a0eee9d29535264d8d350e7132e8121e (diff)
downloadhostap-e3bd3912ca50d4f694a459d700988ea4fdbc5af4.zip
hostap-e3bd3912ca50d4f694a459d700988ea4fdbc5af4.tar.gz
hostap-e3bd3912ca50d4f694a459d700988ea4fdbc5af4.tar.bz2
Change set_ieee8021x driver op to use parameters structure
This makes it easier to extent the set of parameters passed to this driver wrapper function.
Diffstat (limited to 'src/drivers/driver_atheros.c')
-rw-r--r--src/drivers/driver_atheros.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index 1de3a71..ce9f983 100644
--- a/src/drivers/driver_atheros.c
+++ b/src/drivers/driver_atheros.c
@@ -306,11 +306,12 @@ madwifi_set_iface_flags(void *priv, int dev_up)
}
static int
-madwifi_set_ieee8021x(const char *ifname, void *priv, int enabled)
+madwifi_set_ieee8021x(void *priv, struct wpa_bss_params *params)
{
struct madwifi_driver_data *drv = priv;
struct hostapd_data *hapd = drv->hapd;
struct hostapd_bss_config *conf = hapd->conf;
+ int enabled = params->enabled;
wpa_printf(MSG_DEBUG, "%s: enabled=%d", __func__, enabled);