Skip to content
Permalink
Browse files
[usb-moded] Allow introspection on the dbus interface
Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Oct 31, 2013
1 parent a94574c commit ed3a75bcdc9a9593d16559223113161a0e3fd7a9
Showing with 3 additions and 1 deletion.
  1. +2 −0 debian/usb_moded.conf
  2. +1 −1 src/usb_moded.c
@@ -25,6 +25,8 @@
send_interface="com.meego.usb_moded" send_member="get_net_config"/>
<allow send_destination="com.meego.usb_moded"
send_interface="com.meego.usb_moded" send_member="rescue_off"/>
<allow send_interface="org.freedesktop.DBus.Introspectable" />
<allow send_destination="com.meego.usb_moded" />
<deny own="com.meego.usb_moded"/>
</policy>
</busconfig>
@@ -333,7 +333,7 @@ void set_usb_mode(const char *mode)
/** check if a given usb_mode exists
*
* @param mode The mode to look for
* @return 0 if mode exits, 1 if it does not exist
* @return 0 if mode exists, 1 if it does not exist
*
*/
int valid_mode(const char *mode)

0 comments on commit ed3a75b

Please sign in to comment.