1 I keep all files in a flat directory. This patch changes the #include lines
5 # Patch managed by http://www.holgerschurig.de/patcher.html
8 --- wlags/wl_main.c~includes
11 /*******************************************************************************
13 ******************************************************************************/
14 -#include <wireless/wl_version.h>
15 +#include "wl_version.h"
17 #include <linux/module.h>
18 #include <linux/types.h>
20 #include <linux/if_arp.h>
21 #include <linux/ioport.h>
23 -#include <hcf/debug.h>
33 -#include <wireless/wl_if.h>
34 -#include <wireless/wl_internal.h>
35 -#include <wireless/wl_util.h>
36 -#include <wireless/wl_main.h>
37 -#include <wireless/wl_netdev.h>
38 -#include <wireless/wl_wext.h>
40 +#include "wl_internal.h"
43 +#include "wl_netdev.h"
47 -#include <wireless/wl_profile.h>
48 +#include "wl_profile.h"
49 #endif /* USE_PROFILE */
52 -#include <wireless/wl_cs.h>
54 #endif /* BUS_PCMCIA */
57 -#include <wireless/wl_pci.h>
62 --- wlags/wl_cs.c~includes
65 /*******************************************************************************
67 ******************************************************************************/
68 -#include <wireless/wl_version.h>
69 +#include "wl_version.h"
71 #include <linux/kernel.h>
72 #include <linux/sched.h>
74 #include <pcmcia/cisreg.h>
75 #include <pcmcia/ciscode.h>
76 #include <pcmcia/ds.h>
77 -#include <hcf/debug.h>
87 -#include <wireless/wl_if.h>
88 -#include <wireless/wl_internal.h>
89 -#include <wireless/wl_util.h>
90 -#include <wireless/wl_main.h>
91 -#include <wireless/wl_netdev.h>
92 -#include <wireless/wl_cs.h>
94 +#include "wl_internal.h"
97 +#include "wl_netdev.h"
102 --- wlags/wl_enc.c~includes
105 /*******************************************************************************
107 ******************************************************************************/
108 -#include <wireless/wl_version.h>
109 +#include "wl_version.h"
111 -#include <hcf/debug.h>
116 -#include <wireless/wl_enc.h>
121 --- wlags/wl_netdev.c~includes
122 +++ wlags/wl_netdev.c
124 /*******************************************************************************
126 ******************************************************************************/
127 -#include <wireless/wl_version.h>
128 +#include "wl_version.h"
130 #include <linux/module.h>
131 #include <linux/types.h>
132 @@ -104,30 +104,30 @@
133 #include <linux/if_arp.h>
134 #include <linux/ioport.h>
136 -#include <hcf/debug.h>
146 -#include <wireless/wl_if.h>
147 -#include <wireless/wl_internal.h>
148 -#include <wireless/wl_util.h>
149 -#include <wireless/wl_priv.h>
150 -#include <wireless/wl_main.h>
151 -#include <wireless/wl_netdev.h>
152 -#include <wireless/wl_wext.h>
154 +#include "wl_internal.h"
155 +#include "wl_util.h"
156 +#include "wl_priv.h"
157 +#include "wl_main.h"
158 +#include "wl_netdev.h"
159 +#include "wl_wext.h"
162 -#include <wireless/wl_profile.h>
163 +#include "wl_profile.h"
164 #endif /* USE_PROFILE */
167 -#include <wireless/wl_cs.h>
169 #endif /* BUS_PCMCIA */
172 -#include <wireless/wl_pci.h>
177 --- wlags/wl_priv.c~includes
180 /*******************************************************************************
182 ******************************************************************************/
183 -#include <wireless/wl_version.h>
184 +#include "wl_version.h"
186 #include <linux/if_arp.h>
187 #include <linux/ioport.h>
188 #include <linux/delay.h>
189 #include <asm/uaccess.h>
191 -#include <hcf/debug.h>
198 -#include <wireless/wl_if.h>
199 -#include <wireless/wl_internal.h>
200 -#include <wireless/wl_enc.h>
201 -#include <wireless/wl_main.h>
202 -#include <wireless/wl_priv.h>
203 -#include <wireless/wl_util.h>
204 -#include <wireless/wl_netdev.h>
206 +#include "wl_internal.h"
208 +#include "wl_main.h"
209 +#include "wl_priv.h"
210 +#include "wl_util.h"
211 +#include "wl_netdev.h"
215 --- wlags/wl_profile.c~includes
216 +++ wlags/wl_profile.c
218 /*******************************************************************************
220 ******************************************************************************/
221 -#include <wireless/wl_version.h>
222 +#include "wl_version.h"
224 #include <linux/netdevice.h>
225 #include <linux/etherdevice.h>
226 #include <linux/unistd.h>
227 #include <asm/uaccess.h>
229 -#include <hcf/debug.h>
236 -#include <wireless/wl_if.h>
237 -#include <wireless/wl_internal.h>
238 -#include <wireless/wl_util.h>
239 -#include <wireless/wl_enc.h>
240 -#include <wireless/wl_main.h>
241 -#include <wireless/wl_profile.h>
243 +#include "wl_internal.h"
244 +#include "wl_util.h"
246 +#include "wl_main.h"
247 +#include "wl_profile.h"
251 --- wlags/wl_util.c~includes
254 /*******************************************************************************
256 ******************************************************************************/
257 -#include <wireless/wl_version.h>
258 +#include "wl_version.h"
260 #include <linux/kernel.h>
261 #include <linux/sched.h>
263 #include <linux/if_arp.h>
264 #include <linux/ioport.h>
266 -#include <hcf/debug.h>
273 -#include <wireless/wl_if.h>
274 -#include <wireless/wl_internal.h>
275 -#include <wireless/wl_util.h>
277 +#include "wl_internal.h"
278 +#include "wl_util.h"
282 --- wlags/wl_wext.c~includes
285 /*******************************************************************************
287 ******************************************************************************/
288 -#include <wireless/wl_version.h>
289 +#include "wl_version.h"
291 #include <linux/if_arp.h>
292 #include <linux/ioport.h>
293 #include <linux/delay.h>
294 #include <asm/uaccess.h>
296 -#include <hcf/debug.h>
303 -#include <wireless/wl_if.h>
304 -#include <wireless/wl_internal.h>
305 -#include <wireless/wl_util.h>
306 -#include <wireless/wl_main.h>
307 -#include <wireless/wl_wext.h>
309 +#include "wl_internal.h"
310 +#include "wl_util.h"
311 +#include "wl_main.h"
312 +#include "wl_wext.h"
320 - case SIOCSIWSPY: // Set the spy list
321 + case SIOCSIWSPY: // Set the spy list
323 DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWNAME\n" );
324 ret = wireless_set_spy_addrs( wrq, lp );
329 - case SIOCGIWSPY: // Get the spy list
330 + case SIOCGIWSPY: // Get the spy list
332 DBG_TRACE( DbgInfo, "IOCTL: SIOCSIWSPY\n" );
333 ret = wireless_get_spy_addrs( wrq, lp );
337 #if (HCF_TYPE) & HCF_TYPE_STA
339 case SIOCGIWAP: // Get the MAC Address of current AP
341 DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWAP\n" );
349 /* NOTE: SIOCGIWAPLIST has been deprecated by SIOCSIWSCAN/SIOCGIWSCAN.
354 - case SIOCSIWSENS: // Set the desired AP density
355 + case SIOCSIWSENS: // Set the desired AP density
357 DBG_TRACE( DbgInfo, "IOCTL: SIOCSIWSENS\n" );
358 ret = wireless_set_sensitivity( wrq, lp );
363 - case SIOCGIWSENS: // Get the current AP density
364 + case SIOCGIWSENS: // Get the current AP density
366 DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWSENS\n" );
367 wireless_get_sensitivity( wrq, lp );
372 - case SIOCSIWESSID: // Set the desired network name (ESSID)
373 + case SIOCSIWESSID: // Set the desired network name (ESSID)
375 DBG_TRACE( DbgInfo, "IOCTL: SIOCSIWESSID\n" );
376 ret = wireless_set_essid( wrq, lp );
381 - case SIOCGIWESSID: // Get the current network name (ESSID)
382 + case SIOCGIWESSID: // Get the current network name (ESSID)
384 DBG_TRACE(DbgInfo, "IOCTL: SIOCGIWESSID\n");
385 ret = wireless_get_essid( wrq, lp );
390 - case SIOCSIWNICKN: // Set desired station nickname
391 + case SIOCSIWNICKN: // Set desired station nickname
393 DBG_TRACE( DbgInfo, "IOCTL: SIOCSIWNICKN\n" );
394 ret = wireless_set_nickname( wrq, lp );
399 - case SIOCGIWNICKN: // Get current station nickname
400 + case SIOCGIWNICKN: // Get current station nickname
402 DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWNICKN\n" );
403 ret = wireless_get_nickname( wrq, lp );
408 - case SIOCSIWRTS: // Set the desired RTS threshold
409 + case SIOCSIWRTS: // Set the desired RTS threshold
411 DBG_TRACE( DbgInfo, "IOCTL: SIOCSIWRTS\n" );
412 ret = wireless_set_rts_threshold( wrq, lp );
417 - case SIOCGIWRTS: // Get the current RTS threshold
418 + case SIOCGIWRTS: // Get the current RTS threshold
420 DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWRTS\n" );
421 wireless_get_rts_threshold( wrq, lp );
426 - case SIOCGIWENCODE: // Get the encryption keys
427 + case SIOCGIWENCODE: // Get the encryption keys
429 DBG_TRACE( DbgInfo, "IOCTL: SIOCGIWENCODE\n" );
430 ret = wireless_get_encode( wrq, lp );
433 #endif // WIRELESS_EXT > 11
435 - case SIOCGIWPRIV: // Get private ioctl interface info
436 + case SIOCGIWPRIV: // Get private ioctl interface info
438 DBG_TRACE(DbgInfo, "IOCTL: SIOCGIWPRIV NOT SUPPORTED!!!\n");
440 --- wlags/hcfcfg.h~includes
445 #include <linux/module.h>
446 -#include <wireless/wl_version.h>
447 +#include "wl_version.h"
449 /* The following macro ensures that no symbols are exported, minimizing the chance of a symbol
450 collision in the kernel */