aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_bsd.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-07 09:36:45 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-07 09:36:45 (GMT)
commit8709de1ae8e48c53f9530cd4f84a2b751d9d5081 (patch)
tree9125c47af6a8f879c227a51dfb275c78ad3f979d /src/drivers/driver_bsd.c
parentaa48451698a86c3ed77add18993cfe89ca2f3975 (diff)
downloadhostap-8709de1ae8e48c53f9530cd4f84a2b751d9d5081.zip
hostap-8709de1ae8e48c53f9530cd4f84a2b751d9d5081.tar.gz
hostap-8709de1ae8e48c53f9530cd4f84a2b751d9d5081.tar.bz2
Remove unnecessary ifname parameter from hapd_get_ssid/hapd_set_ssid
Diffstat (limited to 'src/drivers/driver_bsd.c')
-rw-r--r--src/drivers/driver_bsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c
index 92ef30c..941db51 100644
--- a/src/drivers/driver_bsd.c
+++ b/src/drivers/driver_bsd.c
@@ -134,7 +134,7 @@ set80211param(struct bsd_driver_data *drv, int op, int arg)
}
static int
-bsd_get_ssid(const char *ifname, void *priv, u8 *ssid, int len)
+bsd_get_ssid(void *priv, u8 *ssid, int len)
{
struct bsd_driver_data *drv = priv;
#ifdef SIOCG80211NWID
@@ -155,7 +155,7 @@ bsd_get_ssid(const char *ifname, void *priv, u8 *ssid, int len)
}
static int
-bsd_set_ssid(const char *ifname, void *priv, const u8 *ssid, int ssid_len)
+bsd_set_ssid(void *priv, const u8 *ssid, int ssid_len)
{
struct bsd_driver_data *drv = priv;
#ifdef SIOCS80211NWID