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 15:52:25 +0000 (16:52 +0100)
commit86e5a6d985e1666e685b1cacb204039ddf03f4cb
tree83d922619ada930adbb06b1bb97a6f162a47c41e
parent3bd2e195ecdcf77482a983451067ad725771de4b
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