about summary refs log tree commit diff
path: root/debian/patches
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2007-03-03 02:55:22 +0000
committerMichael Biebl <biebl@debian.org>2007-03-03 02:55:22 +0000
commitb2f669e84c3cf0ab1ec1b9c29c877dcb80aa20b9 (patch)
treed6060cf4e58f21780aced8dd81a704e2ffbcb5e3 /debian/patches
parent97e0f5b21486b4759830beb09f45c53db6c96b5f (diff)
Add patch by Andy Whitcroft. "|" the wep capabilities instead of "&".
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/networkmanager@1245 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/13-wep_capabilities.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/13-wep_capabilities.patch b/debian/patches/13-wep_capabilities.patch
new file mode 100644
index 00000000..e69dcad6
--- /dev/null
+++ b/debian/patches/13-wep_capabilities.patch
@@ -0,0 +1,21 @@
+Index: src/NetworkManagerAP.c
+===================================================================
+--- src/NetworkManagerAP.c	(Revision 2356)
++++ src/NetworkManagerAP.c	(Revision 2357)
+@@ -572,12 +572,14 @@
+ {
+ 	if (cipher & IW_AUTH_CIPHER_WEP40)
+ 	{
+-		caps |= (NM_802_11_CAP_PROTO_WEP & NM_802_11_CAP_CIPHER_WEP40);
++		caps |= NM_802_11_CAP_PROTO_WEP;
++		caps |= NM_802_11_CAP_CIPHER_WEP40;
+ 		caps &= ~NM_802_11_CAP_PROTO_NONE;
+ 	}
+ 	if (cipher & IW_AUTH_CIPHER_WEP104)
+ 	{
+-		caps |= (NM_802_11_CAP_PROTO_WEP & NM_802_11_CAP_CIPHER_WEP104);
++		caps |= NM_802_11_CAP_PROTO_WEP;
++		caps |= NM_802_11_CAP_CIPHER_WEP104;
+ 		caps &= ~NM_802_11_CAP_PROTO_NONE;
+ 	}
+ 	if (cipher & IW_AUTH_CIPHER_TKIP)