wifi: hack for wext devices reporting IW_MODE_AUTO configuration mode (rh #1325631)
This commit is contained in:
parent
6e190ca90a
commit
923344a847
|
@ -0,0 +1,27 @@
|
|||
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: [PATCH] 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)
|
||||
---
|
||||
src/platform/wifi/wifi-utils-wext.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
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;
|
||||
--
|
||||
2.5.5
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
%define ppp_version %(rpm -q ppp-devel >/dev/null && rpm -q --qf '%%{version}' ppp-devel || echo -n bad)
|
||||
|
||||
%define snapshot %{nil}
|
||||
%define release_version 1
|
||||
%define release_version 2
|
||||
%define realversion 1.0.12
|
||||
%define epoch_version 1
|
||||
|
||||
|
@ -86,6 +86,9 @@ Source4: 20-connectivity-fedora.conf
|
|||
# Not upstream.
|
||||
Patch0: 0000-explain-dns1-dns2.patch
|
||||
|
||||
# Not released upstream yet.
|
||||
Patch1: 0001-wifi-hack-for-wext-devices.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%if 0%{?fedora} && 0%{?fedora} < 20
|
||||
|
@ -361,6 +364,7 @@ by nm-connection-editor and nm-applet in a non-graphical environment.
|
|||
%prep
|
||||
%setup -q -n NetworkManager-%{realversion}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
|
||||
|
@ -679,6 +683,9 @@ fi
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Apr 13 2016 Francesco Giudici <fgiudici@redhat.com> - 1:1.0.12-2
|
||||
- wifi: hack for wext devices reporting IW_MODE_AUTO configuration mode (rh #1325631)
|
||||
|
||||
* Sat Apr 2 2016 Lubomir Rintel <lkundrak@v3.sk> - 1:1.0.12-1
|
||||
- Update to 1.0.12 release
|
||||
|
||||
|
|
Loading…
Reference in New Issue