From: Ilya A. Volynets-Evenbakh <iluxave@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/network-manager: support WEXT drivers which report mode AUTO
Date: Mon, 30 May 2016 19:33:15 +0300 [thread overview]
Message-ID: <1464625995-566-1-git-send-email-iluxave@gmail.com> (raw)
From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
Some wireless drivers report IW_MODE_AUTO instead of IW_MODE_MANAGED.
NetworkManager 1.0.12 introduced a change, which makes it skip such
interfaces.
This patch is a backport of a workaround for this problem from the
NetworkManager upstream.
Signed-off-by: Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>
---
.../0002-accept-auto-mode-interfaces.patch | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 package/network-manager/0002-accept-auto-mode-interfaces.patch
diff --git a/package/network-manager/0002-accept-auto-mode-interfaces.patch b/package/network-manager/0002-accept-auto-mode-interfaces.patch
new file mode 100644
index 0000000..3ea1de6
--- /dev/null
+++ b/package/network-manager/0002-accept-auto-mode-interfaces.patch
@@ -0,0 +1,23 @@
+From 0f6febc6fbeafde62e6e0a8c12f57204d94166fb Mon Sep 17 00:00:00 2001
+From: Francesco Giudici <fgiudici@redhat.com>
+Date: Fri, 11 Mar 2016 09:55:39 +0100
+Subject: wifi: hack for wext devices reporting IW_MODE_AUTO configuration
+ mode.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=763388
+
+diff --git a/src/platform/wifi/wifi-utils-wext.c b/src/platform/wifi/wifi-utils-wext.c
+index 26f4ce4..af285b4 100644
+--- a/src/platform/wifi/wifi-utils-wext.c
++++ b/src/platform/wifi/wifi-utils-wext.c
+@@ -118,6 +118,7 @@ wifi_wext_get_mode (WifiData *data)
+ case IW_MODE_MASTER:
+ return NM_802_11_MODE_AP;
+ case IW_MODE_INFRA:
++ case IW_MODE_AUTO: /* hack for WEXT devices reporting IW_MODE_AUTO */
+ return NM_802_11_MODE_INFRA;
+ default:
+ break;
+--
+cgit v0.10.2
+
--
2.7.3
next reply other threads:[~2016-05-30 16:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-30 16:33 Ilya A. Volynets-Evenbakh [this message]
2016-06-11 14:06 ` [Buildroot] [PATCH] package/network-manager: support WEXT drivers which report mode AUTO Thomas Petazzoni
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=1464625995-566-1-git-send-email-iluxave@gmail.com \
--to=iluxave@gmail.com \
--cc=buildroot@busybox.net \
/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.