Date: Thu, 6 Aug 2015 14:05:18 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r286363 - head/sys/dev/wtap Message-ID: <201508061405.t76E5Ig0057734@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508061405.t76E5Ig0057734>