summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/ral/rt2560.c
diff options
context:
space:
mode:
authorzf162725 <none@none>2008-04-10 21:10:35 -0700
committerzf162725 <none@none>2008-04-10 21:10:35 -0700
commitfb91fd8a302dfb13e250bbefb6a3970c2edc3ae3 (patch)
tree056a7b71d18d0805d7be769a77664bb410550e8e /usr/src/uts/common/io/ral/rt2560.c
parent22dc213396fdd861beeb93f8cb17eaaeb9960cf4 (diff)
downloadillumos-joyent-fb91fd8a302dfb13e250bbefb6a3970c2edc3ae3.tar.gz
6564957 WPA_STRSIZE needs to go
6564958 formatting glitches in <net/wpa.h> 6564959 unused structures adrift in <net/wpa.h> 6566819 IEEE802.11 header definitions should be centralized 6673764 wpad(1M) usage message incorrectly references wpa_supplicant 6673772 Additional instances of wpad(1M) dump core at startup 6685997 kstat -m opackets is zero of ral driver 6685998 net80211 header files hdrchk warnings
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);