Remove struct ieee80211_hdr dependency from EVENT_RX_FROM_UNKNOWN

It is simpler to just pass in u8* to the beginning of the header.
This commit is contained in:
Jouni Malinen 2010-01-03 12:17:20 +02:00
parent a0e0d3bb15
commit 0d9fc3d8bd
4 changed files with 9 additions and 11 deletions

View file

@ -1947,7 +1947,7 @@ union wpa_event_data {
* struct rx_from_unknown - Data for EVENT_RX_FROM_UNKNOWN events
*/
struct rx_from_unknown {
const struct ieee80211_hdr *hdr;
const u8 *frame;
size_t len;
} rx_from_unknown;
@ -2050,8 +2050,6 @@ void wpa_scan_sort_results(struct wpa_scan_results *res);
/* hostapd functions for driver wrappers */
struct ieee80211_hdr;
int hostapd_notif_new_sta(struct hostapd_data *hapd, const u8 *addr);
int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr,
const u8 *ie, size_t ielen);