Hi,

On Mon, 2014-05-12 at 16:12 +0300, Tomasz Bursztyka wrote:
> Reported by Daniel Wagner <[email protected]>
> ---
>  plugins/wifi.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/plugins/wifi.c b/plugins/wifi.c
> index e169692..2dd5dc4 100644
> --- a/plugins/wifi.c
> +++ b/plugins/wifi.c
> @@ -2025,8 +2025,8 @@ static void p2p_support(GSupplicantInterface *interface)
>       if (g_supplicant_interface_has_p2p(interface)) {
>               g_supplicant_interface_set_p2p_device_config(interface,
>                                       connman_utsname_get_hostname());
> -             connman_technology_driver_register(&p2p_tech_driver);
> -             connman_peer_driver_register(&peer_driver);
> +             if (connman_technology_driver_register(&p2p_tech_driver) == 0)
> +                     connman_peer_driver_register(&peer_driver);
>       }
>  }

Applying: wifi: Check the returned code when registering the P2P technology 
driver
error: patch failed: plugins/wifi.c:2025
error: plugins/wifi.c: patch does not apply
Patch failed at 0003 wifi: Check the returned code when registering the P2P 
technology driver

Cheers,

        Patrik



_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to