All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Simon Busch <morphis@gravedo.de>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH v2] wpa-supplicant: backport patch to fix dbus interface for autoscan functionality
Date: Mon, 15 Jul 2013 10:41:51 -0700	[thread overview]
Message-ID: <51E4345F.20501@linux.intel.com> (raw)
In-Reply-To: <1373909634-31509-1-git-send-email-morphis@gravedo.de>

On 07/15/2013 10:33 AM, Simon Busch wrote:
> See https://lists.connman.net/pipermail/connman/2013-July/014871.html for details about
> the issue with connman and http://lists.shmoo.com/pipermail/hostap/2013-July/028167.html
> about the upstream submission of the patch.
>
> Signed-off-by: Simon Busch <morphis@gravedo.de>
> ---
>   .../wpa-supplicant/wpa-supplicant-2.0.inc          |  3 +-
>   .../register-autoscan-correctly.patch              | 49 ++++++++++++++++++++++
>   2 files changed, 51 insertions(+), 1 deletion(-)
>   create mode 100644 meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/register-autoscan-correctly.patch
>
> diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
> index 8d7233a..ce669a1 100644
> --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-2.0.inc
> @@ -20,7 +20,8 @@ SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
>              file://wpa_supplicant.conf \
>              file://wpa_supplicant.conf-sane \
>              file://99_wpa_supplicant \
> -           file://fix-libnl3-host-contamination.patch"
> +           file://fix-libnl3-host-contamination.patch \
> +           file://register-autoscan-correctly.patch"
>
>   S = "${WORKDIR}/wpa_supplicant-${PV}"
>
> diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/register-autoscan-correctly.patch b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/register-autoscan-correctly.patch
> new file mode 100644
> index 0000000..4881295
> --- /dev/null


> +++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/register-autoscan-correctly.patch
> @@ -0,0 +1,49 @@
> +From 199f871006f756911a844dfadbc6e8b98e1088ef Mon Sep 17 00:00:00 2001
> +From: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
> +Date: Mon, 1 Jul 2013 16:07:40 +0300
> +Subject: [PATCH] dbus: Register the AutoScan method call at the right place
> +
> +Signed-hostap: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>

Still no Upstream-Status here,

Please see:
http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

Thanks
	Sau!

> +---
> + wpa_supplicant/dbus/dbus_new.c | 18 +++++++++---------
> + 1 file changed, 9 insertions(+), 9 deletions(-)
> +
> +diff --git a/wpa_supplicant/dbus/dbus_new.c b/wpa_supplicant/dbus/dbus_new.c
> +index 8bc6618..d076d2d 100644
> +--- a/wpa_supplicant/dbus/dbus_new.c
> ++++ b/wpa_supplicant/dbus/dbus_new.c
> +@@ -1917,15 +1917,6 @@ static const struct wpa_dbus_method_desc wpas_dbus_global_methods[] = {
> + 		  END_ARGS
> + 	  }
> + 	},
> +-#ifdef CONFIG_AUTOSCAN
> +-	{ "AutoScan", WPAS_DBUS_NEW_IFACE_INTERFACE,
> +-	  (WPADBusMethodHandler) &wpas_dbus_handler_autoscan,
> +-	  {
> +-		  { "arg", "s", ARG_IN },
> +-		  END_ARGS
> +-	  }
> +-	},
> +-#endif /* CONFIG_AUTOSCAN */
> + 	{ NULL, NULL, NULL, { END_ARGS } }
> + };
> +
> +@@ -2649,6 +2640,15 @@ static const struct wpa_dbus_method_desc wpas_dbus_interface_methods[] = {
> + 	  }
> + 	},
> + #endif /* CONFIG_AP */
> ++#ifdef CONFIG_AUTOSCAN
> ++	{ "AutoScan", WPAS_DBUS_NEW_IFACE_INTERFACE,
> ++	  (WPADBusMethodHandler) &wpas_dbus_handler_autoscan,
> ++	  {
> ++		  { "arg", "s", ARG_IN },
> ++		  END_ARGS
> ++	  }
> ++	},
> ++#endif /* CONFIG_AUTOSCAN */
> + 	{ NULL, NULL, NULL, { END_ARGS } }
> + };
> +
> +--
> +1.8.1.2
> +
>


      reply	other threads:[~2013-07-15 17:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15 17:33 [PATCH v2] wpa-supplicant: backport patch to fix dbus interface for autoscan functionality Simon Busch
2013-07-15 17:41 ` Saul Wold [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51E4345F.20501@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=morphis@gravedo.de \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.