ledtrig-netdev: add support for renamed devices
authorRafał Miłecki <[email protected]>
Sat, 2 Jan 2016 22:15:31 +0000 (22:15 +0000)
committerRafał Miłecki <[email protected]>
Sat, 2 Jan 2016 22:15:31 +0000 (22:15 +0000)
commit11a092066e406c2b4d0471f09f2da8d30786e90d
tree7ab28f794789d24d73bc8a9db37a73bdff8790f2
parent968fa9d19509341b108b52046ad2ef308ad23b74
ledtrig-netdev: add support for renamed devices

The ppp0 interface is renamed after the connection is established. Due
to a missing NETDEV_REGISTER event, the ledtrig-netdev isn't aware of
the renamed interface and literally ignores the device
(no tx/rx indication, led isn't switched off with 'ifdown wan').

Signed-off-by: Mathias Kresin <[email protected]>
Backport of r48048

SVN-Revision: 48073
target/linux/generic/files/drivers/leds/ledtrig-netdev.c