Skip to content

Commit

Permalink
Merge pull request #35 from plundstr/master
Browse files Browse the repository at this point in the history
Prevent shutdown when usb connected in pc_suite mode
  • Loading branch information
Pekka Lundstrom committed Oct 23, 2013
2 parents 827b73e + c716e19 commit ac25732
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure.ac
@@ -1,5 +1,5 @@
# Package name and version
AC_INIT(dsme, 0.63.1)
AC_INIT(dsme, 0.63.2)

AM_INIT_AUTOMAKE

Expand Down
3 changes: 2 additions & 1 deletion modules/usbtracker.c
Expand Up @@ -79,7 +79,8 @@ static void usb_state_ind(const DsmeDbusMessage* ind)
// dsme_log(LOG_DEBUG, "usbtracker: %s(state = %s)",__FUNCTION__, state);

if (strcmp(state, "mass_storage") == 0 ||
strcmp(state, "data_in_use" ) == 0)
strcmp(state, "data_in_use" ) == 0 ||
strcmp(state, "pc_suite" ) == 0)
{
mounted_to_pc_new = true;
}
Expand Down
2 changes: 1 addition & 1 deletion rpm/dsme.spec
Expand Up @@ -13,7 +13,7 @@ Name: dsme
# << macros

Summary: Device State Management Entity
Version: 0.63.1
Version: 0.63.2
Release: 0
Group: System/System Control
License: LGPLv2+
Expand Down
2 changes: 1 addition & 1 deletion rpm/dsme.yaml
@@ -1,6 +1,6 @@
Name: dsme
Summary: Device State Management Entity
Version: 0.63.1
Version: 0.63.2
Release: 0
Group: System/System Control
License: LGPLv2+
Expand Down

0 comments on commit ac25732

Please sign in to comment.