Commit 62ba8766 authored by Shannon Nelson's avatar Shannon Nelson Committed by David S. Miller
Browse files

ionic: shorter dev cmd wait time



Shorten our msleep time while polling for the dev command
request to finish.  Yes, checkpatch.pl complains that the
msleep might actually go longer - that won't hurt, but we'll
take the shorter time if we can get it.

Signed-off-by: default avatarShannon Nelson <snelson@pensando.io>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cba155d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -358,7 +358,7 @@ try_again:
		done = ionic_dev_cmd_done(idev);
		if (done)
			break;
		msleep(20);
		msleep(5);
		hb = ionic_heartbeat_check(ionic);
	} while (!done && !hb && time_before(jiffies, max_wait));
	duration = jiffies - start_time;