]> 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)
commitd97a1b60655f7dc09c7b60ebd4138507509db95c
tree4c6c8fa3480eb431058d5fdc2ed3159d150a9ee9
parent35717dd988d5e00f0ddb232afef92de44fe7bb45
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