aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_bsd.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-11-14 22:06:12 (GMT)
committerJouni Malinen <j@w1.fi>2012-11-14 22:06:12 (GMT)
commit1ce0aa044cfbb427b0e3d0c1bc2f4659e9a7e701 (patch)
tree22b8a3e1b8af28f234dd70e28d299c6a3dfb787e /src/drivers/driver_bsd.c
parentd2901915e72b25581b1a7d07a0d912864437782e (diff)
downloadhostap-1ce0aa044cfbb427b0e3d0c1bc2f4659e9a7e701.zip
hostap-1ce0aa044cfbb427b0e3d0c1bc2f4659e9a7e701.tar.gz
hostap-1ce0aa044cfbb427b0e3d0c1bc2f4659e9a7e701.tar.bz2
Remove unused disassociate() driver_ops
Commits 07783eaaa05c07e2c0071780ed3ebf7d0abfe4b5 and 3da372fae8b25a4aec12245b05680646f3bd0ccd removed the only users of the disassociate() driver operation, so these driver wrapper functions can also be removed now. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/drivers/driver_bsd.c')
-rw-r--r--src/drivers/driver_bsd.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c
index a2b34c1..9d869b1 100644
--- a/src/drivers/driver_bsd.c
+++ b/src/drivers/driver_bsd.c
@@ -973,13 +973,6 @@ wpa_driver_bsd_deauthenticate(void *priv, const u8 *addr, int reason_code)
}
static int
-wpa_driver_bsd_disassociate(void *priv, const u8 *addr, int reason_code)
-{
- return bsd_send_mlme_param(priv, IEEE80211_MLME_DISASSOC, reason_code,
- addr);
-}
-
-static int
wpa_driver_bsd_set_auth_alg(void *priv, int auth_alg)
{
int authmode;
@@ -1564,7 +1557,6 @@ const struct wpa_driver_ops wpa_driver_bsd_ops = {
.scan2 = wpa_driver_bsd_scan,
.get_scan_results2 = wpa_driver_bsd_get_scan_results2,
.deauthenticate = wpa_driver_bsd_deauthenticate,
- .disassociate = wpa_driver_bsd_disassociate,
.associate = wpa_driver_bsd_associate,
.get_capa = wpa_driver_bsd_get_capa,
#endif /* HOSTAPD */