mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 04:20:17 +03:00
Make start_timer() and stop_timer() robust against incorrect usage.
This commit is contained in:
@@ -15,7 +15,10 @@ struct retry_timer {
|
||||
struct list_head list;
|
||||
/** Timeout value (in ticks) */
|
||||
unsigned long timeout;
|
||||
/** Start time (in ticks) */
|
||||
/** Start time (in ticks)
|
||||
*
|
||||
* A start time of zero indicates a stopped timer.
|
||||
*/
|
||||
unsigned long start;
|
||||
/** Retry count */
|
||||
unsigned int count;
|
||||
|
||||
Reference in New Issue
Block a user