aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_bsd.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-07 09:33:06 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-07 09:33:06 (GMT)
commitaa48451698a86c3ed77add18993cfe89ca2f3975 (patch)
tree30da4b73a18c145075d54f2dccc2e652f360a8d5 /src/drivers/driver_bsd.c
parentd5dd016a8acd41e5b74804da492d1f9706ff6345 (diff)
downloadhostap-aa48451698a86c3ed77add18993cfe89ca2f3975.zip
hostap-aa48451698a86c3ed77add18993cfe89ca2f3975.tar.gz
hostap-aa48451698a86c3ed77add18993cfe89ca2f3975.tar.bz2
Remove unnecessary ifname parameter from set_generic_elem() driver op
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 f85fe9d..92ef30c 100644
--- a/src/drivers/driver_bsd.c
+++ b/src/drivers/driver_bsd.c
@@ -558,7 +558,7 @@ bsd_set_freq(void *priv, u16 channel)
}
static int
-bsd_set_opt_ie(const char *ifname, void *priv, const u8 *ie, size_t ie_len)
+bsd_set_opt_ie(void *priv, const u8 *ie, size_t ie_len)
{
#ifdef IEEE80211_IOC_APPIE
wpa_printf(MSG_DEBUG, "%s: set WPA+RSN ie (len %lu)", __func__,
@@ -881,7 +881,7 @@ wpa_driver_bsd_set_wpa_ie(struct bsd_driver_data *drv, const u8 *wpa_ie,
size_t wpa_ie_len)
{
#ifdef IEEE80211_IOC_APPIE
- return bsd_set_opt_ie(drv->ifname, drv, wpa_ie, wpa_ie_len);
+ return bsd_set_opt_ie(drv, wpa_ie, wpa_ie_len);
#else /* IEEE80211_IOC_APPIE */
return set80211var(drv, IEEE80211_IOC_OPTIE, wpa_ie, wpa_ie_len);
#endif /* IEEE80211_IOC_APPIE */