Commit ed3a75bc authored by Philippe De Swert's avatar Philippe De Swert

[usb-moded] Allow introspection on the dbus interface

Signed-off-by: default avatarPhilippe De Swert <philippe.deswert@jollamobile.com>
parent a94574c0
......@@ -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 @@ end:
/** 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment