Fix memory leak related to charging mode. Fixes: CID#1237447

When using charging_fallback there is a small memory leak, when querying
the usb mode. Found with coverity.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[rpm] Own config directories. Contributes to JB#22780

Signed-off-by: Matti Kosola <matti.kosola@jolla.com>
Merge pull request #20 from mkosola/master

Own config directories. Contributes to JB#22780
[docs] Fix up doxygen docs for some dbus functions

Some parameters where wrongly specced, this fixes the doxygen docs.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[network] Actually clean-up dynamic mode network

Clean up the network after unsetting the dynamic mode, especially
important for usb tethering.


Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Support newer autoconf versions correctly

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Fix memory leak related to charging mode. Fixes: CID#1237447

When using charging_fallback there is a small memory leak, when querying
the usb mode. Found with coverity.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Start adding libusbg support

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
[libusbg] Clean-up configuration and make libusbg module compile

configure.ac is cleaned up and now also can selectivly use libusbg
or libkmod. Also linker flags are now shown after the configure run.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>