bcm53xx: fix fallback code for picking status LED
authorRafał Miłecki <rafal@milecki.pl>
Tue, 27 Feb 2018 15:49:31 +0000 (16:49 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 27 Feb 2018 16:01:48 +0000 (17:01 +0100)
commit7dcbe0e22dbb8c1e67a4c177247e774c67a27b2c
treec50b3f8a78810f21f4421380a7995ee2ed4cf69f
parent4db583b9c2ab57daa7ac39c50fdfa8576555fb41
bcm53xx: fix fallback code for picking status LED

Looking for a wrong LED file name was stopping this code from find any
LED. This affects devices with only a red/amber power LED.

Fixes: 3aaee1ba023ac ("bcm53xx: failsafe support")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/bcm53xx/base-files/etc/diag.sh