Remove unused EVENT_MLME_RX
authorJouni Malinen <j@w1.fi>
Sat, 1 Nov 2014 17:31:23 +0000 (19:31 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 1 Nov 2014 17:31:23 +0000 (19:31 +0200)
This was used in driver_test.c, but that driver wrapper has been removed
and there are no remaining or expected users for EVENT_MLME_RX.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver.h
src/drivers/driver_common.c

index 348618b..8420a56 100644 (file)
@@ -3373,13 +3373,6 @@ enum wpa_event_type {
        EVENT_CANCEL_REMAIN_ON_CHANNEL,
 
        /**
-        * EVENT_MLME_RX - Report reception of frame for MLME (test use only)
-        *
-        * This event is used only by driver_test.c and userspace MLME.
-        */
-       EVENT_MLME_RX,
-
-       /**
         * EVENT_RX_PROBE_REQ - Indicate received Probe Request frame
         *
         * This event is used to indicate when a Probe Request frame has been
@@ -4085,17 +4078,6 @@ union wpa_event_data {
        } scan_info;
 
        /**
-        * struct mlme_rx - Data for EVENT_MLME_RX events
-        */
-       struct mlme_rx {
-               const u8 *buf;
-               size_t len;
-               int freq;
-               int channel;
-               int ssi;
-       } mlme_rx;
-
-       /**
         * struct rx_probe_req - Data for EVENT_RX_PROBE_REQ events
         */
        struct rx_probe_req {
index e678b07..b9a0f5f 100644 (file)
@@ -50,7 +50,6 @@ const char * event_to_string(enum wpa_event_type event)
        E2S(RX_MGMT);
        E2S(REMAIN_ON_CHANNEL);
        E2S(CANCEL_REMAIN_ON_CHANNEL);
-       E2S(MLME_RX);
        E2S(RX_PROBE_REQ);
        E2S(NEW_STA);
        E2S(EAPOL_RX);