]> git.baikalelectronics.ru Git - kernel.git/commit
fjes: fix incorrect statistics information in fjes_xmit_frame()
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Fri, 15 Apr 2016 02:25:27 +0000 (11:25 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2016 01:51:01 +0000 (21:51 -0400)
commitbef5a17e3670d982813e50ae54f8bad44d5364f8
treeefe75d8363c91da7245a36ad084622e9f85def15
parentd06f43349fbf74142fc68ccd3f3c52eaf1ff6778
fjes: fix incorrect statistics information in fjes_xmit_frame()

There are bugs of acounting statistics in fjes_xmit_frame().
Accounting self stats is wrong. accounting stats of other
EPs to be transmitted  is right.
This patch fixes this bug.

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fjes/fjes_main.c