ledtrig-netdev: don't cancel work on events for different interfaces
authorSergey Sergeev <adron@yapic.net>
Sun, 29 Jan 2017 16:01:40 +0000 (19:01 +0300)
committerFelix Fietkau <nbd@nbd.name>
Sun, 29 Jan 2017 16:34:29 +0000 (17:34 +0100)
commitec095b5bf3bf0e6c570232522004c17084ba909d
treeb106f408f6beb1ed8659090b156f214f888f33c4
parentb8fcbbf31dd0005628d0dd738eab57de70d0de6e
ledtrig-netdev: don't cancel work on events for different interfaces

This fixes logic bug(in function netdev_trig_notify) introduced in
0b2991a8ed32b5d9ba0a7c3441a72e1c1a1c4fde commit.
Events triggered by different interfaces were stopping work queue so it
wasn't working for tx/rx mode.

Signed-off-by: Sergey Sergeev <adron@yapic.net>
target/linux/generic/files/drivers/leds/ledtrig-netdev.c