diff options
author | sam <sam@FreeBSD.org> | 2009-05-01 21:31:39 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-05-01 21:31:39 +0000 |
commit | 74c9f27fa60d29a4edf4ba38ebda6492fa0edb7b (patch) | |
tree | d49213adc54defe37084f3ed6d7b099029d3bfc0 /sys/net80211/ieee80211_ddb.c | |
parent | 7176eb1b5ec1d305e92a20811e862b0ffe42c756 (diff) | |
download | FreeBSD-src-74c9f27fa60d29a4edf4ba38ebda6492fa0edb7b.zip FreeBSD-src-74c9f27fa60d29a4edf4ba38ebda6492fa0edb7b.tar.gz |
revert wip
Diffstat (limited to 'sys/net80211/ieee80211_ddb.c')
-rw-r--r-- | sys/net80211/ieee80211_ddb.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/sys/net80211/ieee80211_ddb.c b/sys/net80211/ieee80211_ddb.c index cdf2895..1c25760 100644 --- a/sys/net80211/ieee80211_ddb.c +++ b/sys/net80211/ieee80211_ddb.c @@ -284,21 +284,12 @@ _db_show_sta(const struct ieee80211_node *ni) static void _db_show_tdma(const char *sep, const struct ieee80211_tdma_state *ts, int showprocs) { - const char *cp; - int i; - db_printf("%stdma %p:\n", sep, ts); - db_printf("%s features %b version %u slot %u txrate %u bintval %u peer %p\n", sep, - ts->tdma_features, TDMA_F_BITS, ts->tdma_version, ts->tdma_slot, - ts->tdma_txrate, ts->tdma_bintval, ts->tdma_peer); - db_printf("%s slotlen %u slotcnt %u bw[", sep, + db_printf("%s version %u slot %u bintval %u peer %p\n", sep, + ts->tdma_version, ts->tdma_slot, ts->tdma_bintval, ts->tdma_peer); + db_printf("%s slotlen %u slotcnt %u", sep, ts->tdma_slotlen, ts->tdma_slotcnt); - cp = ""; - for (i = 0; i < TDMA_MAXSLOTS; i++) { - db_printf("%s%u", cp, ts->tdma_bw[i]); - cp = ":"; - } - db_printf("] inuse 0x%x active 0x%x count %d\n", + db_printf(" inuse 0x%x active 0x%x count %d\n", ts->tdma_inuse[0], ts->tdma_active[0], ts->tdma_count); if (showprocs) { DB_PRINTSYM(sep, " tdma_newstate", ts->tdma_newstate); |