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:32:58 +0000 (17:32 +0100)
commit74ea99b01d936d7b71ee8d0cd0f7c89617b90314
tree2610ce448df99bbdcc30b053c768f9a6f22c4d45
parent1533f1db921119e9854aa695a50a63f66b155d37
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