Commit 0debddb6 authored by spiiroin's avatar spiiroin

[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: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
parent be912598
......@@ -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"
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment