summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/decl.h
diff options
context:
space:
mode:
authorUjjal Roy <royujjal@gmail.com>2013-12-03 08:17:55 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-12-09 21:35:30 +0100
commita1ed484960066c413712cd9c4d50a350cf67eba3 (patch)
tree0fe8b84ef22c0d2fd231a898563dd99d525a4f67 /drivers/net/wireless/mwifiex/decl.h
parentmwifiex: correct RX byte count statistics (diff)
downloadlinux-a1ed484960066c413712cd9c4d50a350cf67eba3.tar.xz
linux-a1ed484960066c413712cd9c4d50a350cf67eba3.zip
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.h1
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 {
u8 flags;
u8 bss_num;
u8 bss_type;
+ u32 pkt_len;
};
enum mwifiex_wmm_ac_e {