aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/ipmi/ipmi_msghandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
index 421f86104593..1dc10740fc0f 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -5179,7 +5179,7 @@ static void __exit cleanup_ipmi(void)
5179 * avoids problems with race conditions removing the timer 5179 * avoids problems with race conditions removing the timer
5180 * here. 5180 * here.
5181 */ 5181 */
5182 atomic_inc(&stop_operation); 5182 atomic_set(&stop_operation, 1);
5183 del_timer_sync(&ipmi_timer); 5183 del_timer_sync(&ipmi_timer);
5184 5184
5185 initialized = false; 5185 initialized = false;