]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: correct RX byte count statistics
authorUjjal Roy <royujjal@gmail.com>
Tue, 3 Dec 2013 07:17:54 +0000 (23:17 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Dec 2013 20:35:29 +0000 (15:35 -0500)
commit0d106cd074088710f4d18a2a33a75aa41b552270
tree4c6c8fa3480eb431058d5fdc2ed3159d150a9ee9
parent7c232fa889abc0144108c1f74d043b91dc42ff75
mwifiex: correct RX byte count statistics

The skb is modified in processing the RX 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/util.c