|
@@ -177,11 +177,10 @@ static void timer_expired ( struct retry_timer *timer ) {
|
177
|
177
|
}
|
178
|
178
|
|
179
|
179
|
/**
|
180
|
|
- * Single-step the retry timer list
|
|
180
|
+ * Poll the retry timer list
|
181
|
181
|
*
|
182
|
|
- * @v process Retry timer process
|
183
|
182
|
*/
|
184
|
|
-static void retry_step ( struct process *process __unused ) {
|
|
183
|
+void retry_poll ( void ) {
|
185
|
184
|
struct retry_timer *timer;
|
186
|
185
|
unsigned long now = currticks();
|
187
|
186
|
unsigned long used;
|
|
@@ -200,5 +199,14 @@ static void retry_step ( struct process *process __unused ) {
|
200
|
199
|
}
|
201
|
200
|
}
|
202
|
201
|
|
|
202
|
+/**
|
|
203
|
+ * Single-step the retry timer list
|
|
204
|
+ *
|
|
205
|
+ * @v process Retry timer process
|
|
206
|
+ */
|
|
207
|
+static void retry_step ( struct process *process __unused ) {
|
|
208
|
+ retry_poll();
|
|
209
|
+}
|
|
210
|
+
|
203
|
211
|
/** Retry timer process */
|
204
|
212
|
PERMANENT_PROCESS ( retry_process, retry_step );
|