Re: [PATCH BlueZ] SAP: Fix not unregistering dummy interface on exit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luiz,

On Thu, May 03, 2012, Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
> 
> Dummy interface is registered on plugin init and is never unregistered
> ---
>  sap/sap-dummy.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/sap/sap-dummy.c b/sap/sap-dummy.c
> index acdec77..3060dde 100644
> --- a/sap/sap-dummy.c
> +++ b/sap/sap-dummy.c
> @@ -340,6 +340,8 @@ int sap_init(void)
>  
>  void sap_exit(void)
>  {
> +	g_dbus_unregister_interface(connection, SAP_DUMMY_PATH, SAP_DUMMY_IFACE);
> +
>  	dbus_connection_unref(connection);
>  	connection = NULL;
>  }

Applied, but I had to first fix the line you're adding since it was over
80 characters.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux