diff options
author | Thomas Gleixner | 2014-04-11 08:13:12 +0000 |
---|---|---|
committer | Marc Kleine-Budde | 2014-04-24 22:08:56 +0200 |
commit | f058d548e8071a1d148d6ebd94888d011c3ca71e (patch) | |
tree | 57640ef92b3896fc7801f0443cbbf441fdf17085 /drivers/mfd/da9055-core.c | |
parent | 9c64863a49bd23c5a3a983680eb500f7796c81be (diff) |
can: c_can: Handle state change correctly
If the allocation of an error skb fails, the state change handling
returns w/o doing any work. That leaves the interface in a wreckaged
state as the internal status is wrong.
Split the interface handling and the skb handling.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/mfd/da9055-core.c')
0 files changed, 0 insertions, 0 deletions