diff options
author | Richard Purdie <richard@openedhand.com> | 2005-09-20 07:04:35 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-09-20 07:04:35 +0000 |
commit | b4a7122cacef647dbec3db5c9ebe1e504a7670df (patch) | |
tree | 006885a1f4e8032062632ee1a091e72c32dd2810 /openembedded/packages/hostap/hostap-modules-0.3.9/add_event.patch | |
parent | f9e1d16bfa73a2df5254c63ae1abb6a4bbe0a062 (diff) | |
download | poky-b4a7122cacef647dbec3db5c9ebe1e504a7670df.tar.gz |
Updates against mainline OE
git-svn-id: https://svn.o-hand.com/repos/poky@26 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/hostap/hostap-modules-0.3.9/add_event.patch')
-rw-r--r-- | openembedded/packages/hostap/hostap-modules-0.3.9/add_event.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/openembedded/packages/hostap/hostap-modules-0.3.9/add_event.patch b/openembedded/packages/hostap/hostap-modules-0.3.9/add_event.patch new file mode 100644 index 0000000000..d5f2a10e86 --- /dev/null +++ b/openembedded/packages/hostap/hostap-modules-0.3.9/add_event.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | Index: 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 | }; | ||