]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: correct TX byte count statistics
authorUjjal Roy <royujjal@gmail.com>
Tue, 3 Dec 2013 07:17:55 +0000 (23:17 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Dec 2013 20:35:30 +0000 (15:35 -0500)
commit12139b694e67ab795beb4c87d771a3293ac744f1
tree0fe8b84ef22c0d2fd231a898563dd99d525a4f67
parentd97a1b60655f7dc09c7b60ebd4138507509db95c
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>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/decl.h
drivers/net/wireless/mwifiex/main.c
drivers/net/wireless/mwifiex/sta_tx.c
drivers/net/wireless/mwifiex/txrx.c