Browse Source

Remove unused EVENT_MLME_RX

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>
Jouni Malinen 10 years ago
parent
commit
68ee1cdca0
2 changed files with 0 additions and 19 deletions
  1. 0 18
      src/drivers/driver.h
  2. 0 1
      src/drivers/driver_common.c

+ 0 - 18
src/drivers/driver.h

@@ -3372,13 +3372,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
 	 *
@@ -4084,17 +4077,6 @@ union wpa_event_data {
 		size_t num_ssids;
 	} 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
 	 */

+ 0 - 1
src/drivers/driver_common.c

@@ -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);