diff options
author | sam <sam@FreeBSD.org> | 2009-02-13 05:31:18 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-02-13 05:31:18 +0000 |
commit | 9705c5de7132b086b659b1cfb357159ec753092a (patch) | |
tree | 262d62dd1a3b33f03cc8bf0dbfd086c83c096786 /sys/net80211 | |
parent | ca6a964ab32d71d60cf2aaefaf410cdd88a49fca (diff) | |
download | FreeBSD-src-9705c5de7132b086b659b1cfb357159ec753092a.zip FreeBSD-src-9705c5de7132b086b659b1cfb357159ec753092a.tar.gz |
remove ic_stats; it was intended to accumulate stats from vaps as they
were reaped but was never used and is inaccessible
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211.c | 1 | ||||
-rw-r--r-- | sys/net80211/ieee80211_ddb.c | 1 | ||||
-rw-r--r-- | sys/net80211/ieee80211_var.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211.c b/sys/net80211/ieee80211.c index 7a02eda..6de00ae 100644 --- a/sys/net80211/ieee80211.c +++ b/sys/net80211/ieee80211.c @@ -533,7 +533,6 @@ ieee80211_vap_detach(struct ieee80211vap *vap) */ ieee80211_stop_locked(vap); - /* XXX accumulate iv_stats in ic_stats? */ TAILQ_REMOVE(&ic->ic_vaps, vap, iv_next); ieee80211_syncflag_locked(ic, IEEE80211_F_WME); ieee80211_syncflag_locked(ic, IEEE80211_F_TURBOP); diff --git a/sys/net80211/ieee80211_ddb.c b/sys/net80211/ieee80211_ddb.c index 4e3406b..bba45b8 100644 --- a/sys/net80211/ieee80211_ddb.c +++ b/sys/net80211/ieee80211_ddb.c @@ -438,7 +438,6 @@ _db_show_com(const struct ieee80211com *ic, int showvaps, int showsta, int showp db_printf("\tifp %p", ic->ic_ifp); db_printf(" comlock %p", &ic->ic_comlock); db_printf("\n"); - _db_show_stats(&ic->ic_stats); db_printf("\theadroom %d", ic->ic_headroom); db_printf(" phytype %d", ic->ic_phytype); db_printf(" opmode %s", ieee80211_opmode_name[ic->ic_opmode]); diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index 32a9d0b..ace2c2f 100644 --- a/sys/net80211/ieee80211_var.h +++ b/sys/net80211/ieee80211_var.h @@ -111,7 +111,6 @@ struct ieee80211com { struct ifnet *ic_ifp; /* associated device */ ieee80211_com_lock_t ic_comlock; /* state update lock */ TAILQ_HEAD(, ieee80211vap) ic_vaps; /* list of vap instances */ - struct ieee80211_stats ic_stats; /* statistics */ int ic_headroom; /* driver tx headroom needs */ enum ieee80211_phytype ic_phytype; /* XXX wrong for multi-mode */ enum ieee80211_opmode ic_opmode; /* operation mode */ |