Replace wpa_supplicant_sta_rx() call with driver event
[mech_eap.git] / src / drivers / driver_privsep.c
index 077f853..d9911e9 100644 (file)
@@ -438,22 +438,6 @@ static void wpa_driver_privsep_event_rx_eapol(void *ctx, u8 *buf, size_t len)
 }
 
 
-static void wpa_driver_privsep_event_sta_rx(void *ctx, u8 *buf, size_t len)
-{
-#ifdef CONFIG_CLIENT_MLME
-       struct ieee80211_rx_status *rx_status;
-
-       if (len < sizeof(*rx_status))
-               return;
-       rx_status = (struct ieee80211_rx_status *) buf;
-       buf += sizeof(*rx_status);
-       len -= sizeof(*rx_status);
-
-       wpa_supplicant_sta_rx(ctx, buf, len, rx_status);
-#endif /* CONFIG_CLIENT_MLME */
-}
-
-
 static void wpa_driver_privsep_receive(int sock, void *eloop_ctx,
                                       void *sock_ctx)
 {
@@ -530,10 +514,6 @@ static void wpa_driver_privsep_receive(int sock, void *eloop_ctx,
                wpa_driver_privsep_event_rx_eapol(drv->ctx, event_buf,
                                                  event_len);
                break;
-       case PRIVSEP_EVENT_STA_RX:
-               wpa_driver_privsep_event_sta_rx(drv->ctx, event_buf,
-                                               event_len);
-               break;
        }
 
        os_free(buf);