Remove unnecessary wpa_event_type typedef

master
Jouni Malinen 15 years ago
parent fdbe50ed98
commit 9646a8ab8b

@ -343,7 +343,7 @@ static int hostapd_probe_req_rx(struct hostapd_data *hapd, const u8 *sa,
}
void wpa_supplicant_event(void *ctx, wpa_event_type event,
void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
union wpa_event_data *data)
{
struct hostapd_data *hapd = ctx;

@ -1523,7 +1523,7 @@ struct wpa_driver_ops {
/**
* enum wpa_event_type - Event type for wpa_supplicant_event() calls
*/
typedef enum wpa_event_type {
enum wpa_event_type {
/**
* EVENT_ASSOC - Association completed
*
@ -1734,8 +1734,8 @@ typedef enum wpa_event_type {
* received. Information about the received frame is included in
* union wpa_event_data::rx_probe_req.
*/
EVENT_RX_PROBE_REQ,
} wpa_event_type;
EVENT_RX_PROBE_REQ
};
/**
@ -2020,7 +2020,7 @@ union wpa_event_data {
* Driver wrapper code should call this function whenever an event is received
* from the driver.
*/
void wpa_supplicant_event(void *ctx, wpa_event_type event,
void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
union wpa_event_data *data);
/**

@ -1412,7 +1412,7 @@ static void wpa_supplicant_event_ibss_rsn_start(struct wpa_supplicant *wpa_s,
#endif /* CONFIG_IBSS_RSN */
void wpa_supplicant_event(void *ctx, wpa_event_type event,
void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
union wpa_event_data *data)
{
struct wpa_supplicant *wpa_s = ctx;

Loading…
Cancel
Save