about summary refs log tree commit diff
path: root/debian/patches
diff options
context:
space:
mode:
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)