remove ic_stats; it was intended to accumulate stats from vaps as they
were reaped but was never used and is inaccessible
This commit is contained in:
parent
36c6be9ab4
commit
d3f5f855e8
@ -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);
|
||||
|
@ -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]);
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user