ledtrig-netdev: reset link status & stats after changing device_name
authorRafał Miłecki <zajec5@gmail.com>
Wed, 23 Dec 2015 17:13:04 +0000 (17:13 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Wed, 23 Dec 2015 17:13:04 +0000 (17:13 +0000)
commit470294e1b55679ed15bf36f3bb74039668d18344
tree9de3ae81b0c3775043f86f54667b02a43bd7dd89
parent71ed81e215b399e5786d9530f43939ad31336bc8
ledtrig-netdev: reset link status & stats after changing device_name

Previously switching to non-existing device (interface) could result in
leaving LED on.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47990

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