]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - src/drivers/driver_bsd.c
Remove unused disassociate() driver_ops
[thirdparty/hostap.git] / src / drivers / driver_bsd.c
index a2b34c1289460bebad43a5d22168e26e4e052a7a..9d869b1517a597d5d26a22f0e88e5ae622e57ccf 100644 (file)
@@ -972,13 +972,6 @@ wpa_driver_bsd_deauthenticate(void *priv, const u8 *addr, int reason_code)
                                   addr);
 }
 
-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)
 {
@@ -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 */