summaryrefslogtreecommitdiff
path: root/nuttx/sched/work_cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/work_cancel.c')
-rw-r--r--nuttx/sched/work_cancel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/sched/work_cancel.c b/nuttx/sched/work_cancel.c
index f110eb4cc..c277f024d 100644
--- a/nuttx/sched/work_cancel.c
+++ b/nuttx/sched/work_cancel.c
@@ -2,7 +2,7 @@
* sched/work_cancel.c
*
* Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -110,6 +110,7 @@ int work_cancel(struct work_s *work)
work->worker = NULL;
}
+
irqrestore(flags);
return OK;
}