ar7: diag.sh: use common status_led_* functions
authorPiotr Dymacz <pepe2k@gmail.com>
Thu, 9 Mar 2017 14:03:18 +0000 (15:03 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Wed, 15 Mar 2017 22:14:54 +0000 (23:14 +0100)
commit5cc96c0953e2d829aebc84256dd29a9579193083
tree09e221c428b3d4a4961a7b142c9f4998863b581f
parent6e44f47a90c1971aa3582a1e764746c43177401b
ar7: diag.sh: use common status_led_* functions

Switch to the common LED related status_led_blink_* functions in
set_state() as it's done in most of other targets.

Also, use "status_led_on" instead of "status_led_set_heartbeat"
and incorrect "status_led_set_on" in the "done" state.

Moreover, remove outdated comment from the script.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
target/linux/ar7/base-files/etc/diag.sh