3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- orinoco-0.13e-SN-6/orinoco_cs.c~catch-up-with-cardservices.patch
7 +++ orinoco-0.13e-SN-6/orinoco_cs.c
10 /********************************************************************/
12 -/* In 2.5 (as of 2.5.69 at least) there is a cs_error exported which
13 - * does this, but it's not in 2.4 so we do our own for now. */
15 -orinoco_cs_error(client_handle_t handle, int func, int ret)
17 - error_info_t err = { func, ret };
18 - pcmcia_report_error(handle, &err);
22 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
23 /* Remove zombie instances (card removed, detach pending) */
27 ret = pcmcia_register_client(&link->handle, &client_reg);
28 if (ret != CS_SUCCESS) {
29 - orinoco_cs_error(link->handle, RegisterClient, ret);
30 + cs_error(link->handle, RegisterClient, ret);
31 orinoco_cs_detach(link);
38 - orinoco_cs_error(link->handle, last_fn, last_ret);
39 + cs_error(link->handle, last_fn, last_ret);
42 orinoco_cs_release(link);