Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[usb-moded] some minor fixes
Fix some small naming issue in configure.ac, fix compilation without devicelock

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Aug 5, 2014
1 parent 3d0be03 commit 098b51e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -108,7 +108,7 @@ AC_ARG_ENABLE([ofono], AS_HELP_STRING([--enable-ofono], [Enable ofono DBUS inter
no) ofono=false ;;
*) AC_MSG_ERROR([bad value ${enableval} for --enable-ofono]) ;;
esac],[ofono=false])
AM_CONDITIONAL([SYSTEMD], [test x$ofono = xtrue])
AM_CONDITIONAL([OFONO], [test x$ofono = xtrue])

PKG_CHECK_MODULES([USB_MODED], [
glib-2.0 >= 2.24.0
Expand Down
2 changes: 2 additions & 0 deletions src/usb_moded.c
Expand Up @@ -613,7 +613,9 @@ static void handle_exit(void)
appsync_stop();
hwal_cleanup();
usb_moded_dbus_cleanup();
#ifdef MEEGOLOCK
stop_devicelock_listener();
#endif /* MEEGOLOCK */

free_mode_list(modelist);
kmod_unref(ctx);
Expand Down

0 comments on commit 098b51e

Please sign in to comment.