svn commit: r286363 - head/sys/dev/wtap
Gleb Smirnoff
glebius at FreeBSD.org
Thu Aug 6 14:05:19 UTC 2015
Author: glebius
Date: Thu Aug 6 14:05:17 2015
New Revision: 286363
URL: https://svnweb.freebsd.org/changeset/base/286363
Log:
Make it compilable. No idea if it works.
Modified:
head/sys/dev/wtap/if_wtap.c
head/sys/dev/wtap/if_wtapvar.h
Modified: head/sys/dev/wtap/if_wtap.c
==============================================================================
--- head/sys/dev/wtap/if_wtap.c Thu Aug 6 08:51:15 2015 (r286362)
+++ head/sys/dev/wtap/if_wtap.c Thu Aug 6 14:05:17 2015 (r286363)
@@ -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
Modified: head/sys/dev/wtap/if_wtapvar.h
==============================================================================
--- head/sys/dev/wtap/if_wtapvar.h Thu Aug 6 08:51:15 2015 (r286362)
+++ head/sys/dev/wtap/if_wtapvar.h Thu Aug 6 14:05:17 2015 (r286363)
@@ -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 *);
More information about the svn-src-head
mailing list