summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/ral/rt2560.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io/ral/rt2560.c')
-rw-r--r--usr/src/uts/common/io/ral/rt2560.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/ral/rt2560.c b/usr/src/uts/common/io/ral/rt2560.c
index 84e7f8139e..6790f76016 100644
--- a/usr/src/uts/common/io/ral/rt2560.c
+++ b/usr/src/uts/common/io/ral/rt2560.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -1544,6 +1544,9 @@ rt2560_mgmt_send(ieee80211com_t *ic, mblk_t *mp, uint8_t type)
sc->sc_tx_timer = 5;
+ ic->ic_stats.is_tx_frags++;
+ ic->ic_stats.is_tx_bytes += pktlen;
+
fail3:
ieee80211_free_node(ni);
fail2:
@@ -1694,6 +1697,9 @@ rt2560_send(ieee80211com_t *ic, mblk_t *mp)
sc->sc_tx_timer = 5;
+ ic->ic_stats.is_tx_frags++;
+ ic->ic_stats.is_tx_bytes += pktlen;
+
freemsg(mp);
fail3:
ieee80211_free_node(ni);