diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-04-16 13:12:09 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-04-16 13:12:09 +0200 |
commit | 2121c3a782bac69a7bd00efc6211e962883a607b (patch) | |
tree | 10a0016dfaf835174ce6f3d51f4fba8743c9da26 /net-misc/networkmanager/files | |
parent | dev-libs/libbsd: >=sys-kernel/linux-headers-3.17 needed, bug #579228 by Oleg ... (diff) | |
download | gentoo-2121c3a782bac69a7bd00efc6211e962883a607b.tar.gz gentoo-2121c3a782bac69a7bd00efc6211e962883a607b.tar.bz2 gentoo-2121c3a782bac69a7bd00efc6211e962883a607b.zip |
net-misc/networkmanager: Fix connection with some wifi devices (#579820 by Oleg)
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-misc/networkmanager/files')
-rw-r--r-- | net-misc/networkmanager/files/networkmanager-1.0.12-wifi-wext.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net-misc/networkmanager/files/networkmanager-1.0.12-wifi-wext.patch b/net-misc/networkmanager/files/networkmanager-1.0.12-wifi-wext.patch new file mode 100644 index 000000000000..124cafe48dc6 --- /dev/null +++ b/net-misc/networkmanager/files/networkmanager-1.0.12-wifi-wext.patch @@ -0,0 +1,24 @@ +From 70c0defe753bc98ac75725cc32a84b36f32258e4 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 +(cherry picked from commit 0f6febc6fbeafde62e6e0a8c12f57204d94166fb) + +diff --git a/src/platform/wifi/wifi-utils-wext.c b/src/platform/wifi/wifi-utils-wext.c +index 470b73d..14a16ec 100644 +--- a/src/platform/wifi/wifi-utils-wext.c ++++ b/src/platform/wifi/wifi-utils-wext.c +@@ -122,6 +122,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 + |