ledtrig-netdev: reset link status & stats after changing device_name
authorRafał Miłecki <zajec5@gmail.com>
Wed, 23 Dec 2015 17:11:49 +0000 (17:11 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Wed, 23 Dec 2015 17:11:49 +0000 (17:11 +0000)
commite9e3a0682c509487bb606aad84d46eafad3f7233
tree9e7a2f55bee6e7197c77e27a0b388c7f4bd671bc
parent2b1129a7bafce7a6eb0ff8fd5d397cbbcc7c00ac
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>
SVN-Revision: 47990
target/linux/generic/files/drivers/leds/ledtrig-netdev.c