Skip to content

Commit

Permalink
Do not stop sensors unless the runtime flag is in place
Browse files Browse the repository at this point in the history
  • Loading branch information
spiiroin committed Oct 14, 2013
1 parent e3ba666 commit 1ed872f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mce-sensorfw.c
Expand Up @@ -1399,7 +1399,7 @@ mce_sensorfw_quit(void)
void
mce_sensorfw_suspend(void)
{
if( !system_suspended ) {
if( !system_suspended && stop_ps_on_suspend() ) {
system_suspended = true;
mce_log(LL_INFO, "@%s()", __FUNCTION__);
xsensord_rethink();
Expand Down

0 comments on commit 1ed872f

Please sign in to comment.