diff options
author | Richard Purdie <richard@openedhand.com> | 2006-03-23 23:28:43 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-03-23 23:28:43 +0000 |
commit | 5d530ad71d08c3ebf127c6844969359c3a06a6ed (patch) | |
tree | 0b0e1db18aaa668c7dafeda3a84a46f0bfe17844 /openembedded/packages/hostap/hostap-modules/add_event.patch | |
parent | 1494095f626896f5429acd0aee6fca6389f21837 (diff) | |
download | openembedded-core-5d530ad71d08c3ebf127c6844969359c3a06a6ed.tar.gz openembedded-core-5d530ad71d08c3ebf127c6844969359c3a06a6ed.tar.bz2 openembedded-core-5d530ad71d08c3ebf127c6844969359c3a06a6ed.zip |
Update hostap packages from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@330 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/hostap/hostap-modules/add_event.patch')
-rw-r--r-- | openembedded/packages/hostap/hostap-modules/add_event.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/openembedded/packages/hostap/hostap-modules/add_event.patch b/openembedded/packages/hostap/hostap-modules/add_event.patch new file mode 100644 index 0000000000..d5f2a10e86 --- /dev/null +++ b/openembedded/packages/hostap/hostap-modules/add_event.patch @@ -0,0 +1,28 @@ +Index: hostap-driver-0.3.7/driver/modules/hostap_cs.c +=================================================================== +--- hostap-driver-0.3.7.orig/driver/modules/hostap_cs.c 2005-08-03 17:05:53.000000000 +0100 ++++ hostap-driver-0.3.7/driver/modules/hostap_cs.c 2005-08-03 17:07:59.000000000 +0100 +@@ -526,11 +526,13 @@ + dev_list = link; + client_reg.dev_info = &dev_info; + client_reg.Attributes = INFO_IO_CLIENT; ++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13)) + client_reg.EventMask = CS_EVENT_CARD_INSERTION | + CS_EVENT_CARD_REMOVAL | + CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | + CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; + client_reg.event_handler = &prism2_event; ++#endif + client_reg.Version = 0x0210; + client_reg.event_callback_args.client_data = link; + ret = pcmcia_register_client(&link->handle, &client_reg); +@@ -913,6 +915,9 @@ + .name = "hostap_cs", + }, + .attach = prism2_attach, ++#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12)) ++ .event = prism2_event, ++#endif + .detach = prism2_detach, + .owner = THIS_MODULE, + }; |