Make it compilable. No idea if it works.
This commit is contained in:
parent
3bb6078985
commit
e369e734f4
@ -163,13 +163,13 @@ wtap_media_change(struct ifnet *ifp)
|
||||
*/
|
||||
static void
|
||||
wtap_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m,
|
||||
int subtype, int rssi, int nf)
|
||||
int subtype, const struct ieee80211_rx_stats *stats, int rssi, int nf)
|
||||
{
|
||||
struct ieee80211vap *vap = ni->ni_vap;
|
||||
#if 0
|
||||
DWTAP_PRINTF("[%d] %s\n", myath_id(ni), __func__);
|
||||
#endif
|
||||
WTAP_VAP(vap)->av_recv_mgmt(ni, m, subtype, rssi, nf);
|
||||
WTAP_VAP(vap)->av_recv_mgmt(ni, m, subtype, stats, rssi, nf);
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -120,7 +120,7 @@ struct wtap_vap {
|
||||
struct callout av_swba; /* software beacon alert */
|
||||
uint32_t av_bcinterval; /* beacon interval */
|
||||
void (*av_recv_mgmt)(struct ieee80211_node *,
|
||||
struct mbuf *, int, int, int);
|
||||
struct mbuf *, int, const struct ieee80211_rx_stats *, int, int);
|
||||
int (*av_newstate)(struct ieee80211vap *,
|
||||
enum ieee80211_state, int);
|
||||
void (*av_bmiss)(struct ieee80211vap *);
|
||||
|
Loading…
Reference in New Issue
Block a user