Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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 ed3a75b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions debian/usb_moded.conf
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/usb_moded.c
Expand Up @@ -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)
Expand Down

0 comments on commit ed3a75b

Please sign in to comment.