Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[dsme] Verify modesettings on each processwd heartbeat. Fixes JB#38433
Check if there are unexpected changes to sysfs values that are supposed to
be controlled by usb-moded when handling dsme process watchdog ping-pong.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Apr 26, 2017
1 parent be91259 commit 0debddb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/usb_moded-dsme.c
Expand Up @@ -30,6 +30,7 @@

#include "usb_moded.h"
#include "usb_moded-dsme.h"
#include "usb_moded-modesetting.h"
#include "usb_moded-dbus-private.h"
#include "usb_moded-log.h"

Expand Down Expand Up @@ -427,6 +428,7 @@ dsme_socket_recv_cb(GIOChannel *source,
dsme_socket_processwd_pong();

/* Do heartbeat actions here */
usb_moded_mode_verify_values();
}
else if( (msg2 = DSMEMSG_CAST(DSM_MSGTYPE_STATE_CHANGE_IND, msg)) ) {
dsme_state_update(msg2->state);
Expand Down

0 comments on commit 0debddb

Please sign in to comment.