diff options
author | Ujjal Roy <royujjal@gmail.com> | 2013-12-03 02:17:55 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-09 15:35:30 -0500 |
commit | a1ed484960066c413712cd9c4d50a350cf67eba3 (patch) | |
tree | 0fe8b84ef22c0d2fd231a898563dd99d525a4f67 /drivers/net/wireless/mwifiex/decl.h | |
parent | f49c6e814274a12295dbd13e1c8ef2b7edd5ab87 (diff) |
mwifiex: correct TX byte count statistics
The skb is modified in sending the TX packet. Save the original
packet length to a variable so that we can get the correct
statistics update.
Signed-off-by: Ujjal Roy <royujjal@gmail.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/decl.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/decl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/decl.h b/drivers/net/wireless/mwifiex/decl.h index 5c85d7803d00..3a21bd03d6db 100644 --- a/drivers/net/wireless/mwifiex/decl.h +++ b/drivers/net/wireless/mwifiex/decl.h | |||
@@ -130,6 +130,7 @@ struct mwifiex_txinfo { | |||
130 | u8 flags; | 130 | u8 flags; |
131 | u8 bss_num; | 131 | u8 bss_num; |
132 | u8 bss_type; | 132 | u8 bss_type; |
133 | u32 pkt_len; | ||
133 | }; | 134 | }; |
134 | 135 | ||
135 | enum mwifiex_wmm_ac_e { | 136 | enum mwifiex_wmm_ac_e { |