diff options
author | Andri Yngvason <andri.yngvason@marel.com> | 2015-01-16 14:30:28 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-01-20 13:56:53 +0100 |
commit | be38a6f9f4093b0f1fa9e7d8cb47d588bc117c21 (patch) | |
tree | 41a834156d6483c55fa28eccfc208449bff67d95 /crypto/michael_mic.c | |
parent | 0c49087462e8587c12ecfeaf1dd46fdc0ddc4532 (diff) | |
download | talos-op-linux-be38a6f9f4093b0f1fa9e7d8cb47d588bc117c21.tar.gz talos-op-linux-be38a6f9f4093b0f1fa9e7d8cb47d588bc117c21.zip |
can: move can_stats.bus_off++ from can_bus_off into can_change_state
In order to be able to move the stats increment from can_bus_off() into
can_change_state(), the increment had to be moved back into code that was using
can_bus_off() but not can_change_state().
As a side-effect, this patch fixes the following bugs:
* Redundant call to can_bus_off() in c_can.
* Bus-off counted twice in xilinx_can.
Signed-off-by: Andri Yngvason <andri.yngvason@marel.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'crypto/michael_mic.c')
0 files changed, 0 insertions, 0 deletions