summaryrefslogtreecommitdiffstats
path: root/meta/packages/hostap/hostap-modules/add_event.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-04-11 07:50:04 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-04-11 07:50:04 +0000
commit6427370753146b2a71a06df614f71e8df9de9a23 (patch)
treeaf71d86dd333915bc5dde3d2f2c1fc7e25a43f79 /meta/packages/hostap/hostap-modules/add_event.patch
parent57a0d61df3b88d29130e78ac852a3dac20d688d0 (diff)
downloadpoky-6427370753146b2a71a06df614f71e8df9de9a23.tar.gz
hostap-modules: dropped as they are provided by 2.6 kernel now
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1474 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/hostap/hostap-modules/add_event.patch')
-rw-r--r--meta/packages/hostap/hostap-modules/add_event.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/meta/packages/hostap/hostap-modules/add_event.patch b/meta/packages/hostap/hostap-modules/add_event.patch
deleted file mode 100644
index d5f2a10e86..0000000000
--- a/meta/packages/hostap/hostap-modules/add_event.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1Index: hostap-driver-0.3.7/driver/modules/hostap_cs.c
2===================================================================
3--- hostap-driver-0.3.7.orig/driver/modules/hostap_cs.c 2005-08-03 17:05:53.000000000 +0100
4+++ hostap-driver-0.3.7/driver/modules/hostap_cs.c 2005-08-03 17:07:59.000000000 +0100
5@@ -526,11 +526,13 @@
6 dev_list = link;
7 client_reg.dev_info = &dev_info;
8 client_reg.Attributes = INFO_IO_CLIENT;
9+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13))
10 client_reg.EventMask = CS_EVENT_CARD_INSERTION |
11 CS_EVENT_CARD_REMOVAL |
12 CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET |
13 CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME;
14 client_reg.event_handler = &prism2_event;
15+#endif
16 client_reg.Version = 0x0210;
17 client_reg.event_callback_args.client_data = link;
18 ret = pcmcia_register_client(&link->handle, &client_reg);
19@@ -913,6 +915,9 @@
20 .name = "hostap_cs",
21 },
22 .attach = prism2_attach,
23+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12))
24+ .event = prism2_event,
25+#endif
26 .detach = prism2_detach,
27 .owner = THIS_MODULE,
28 };