selftests: hsr: Use `let' properly.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 15 Sep 2023 18:10:04 +0000 (20:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2023 07:26:19 +0000 (08:26 +0100)
commit5c3ce539a11185268aff3bb30d2fad8c7fa42f86
treeb55ffc58645aac4c97684617805d351f77a8467e
parentfbd825fcd7dd4c11d4c48c3d0adc248a4a0ce90b
selftests: hsr: Use `let' properly.

The timeout in the while loop is never subtracted due wrong usage of
`let' leading to an endless loop if the former condition never gets
true.

Put the statement for let in quotes so it is parsed as a single
statement.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/hsr/hsr_ping.sh