Hi all, An error[0] has notified running 2.4.27 and linux-wlan-ng-0.2.2+dfsg, wich it's patched from svn, and I've made this patch that seems to work.
Please take a look over it. [0] http://bugs.debian.org/338112 -- Victor Seva [EMAIL PROTECTED] http://www.torreviejawireless.org http://linuxmaniac.homeip.net jabber: [EMAIL PROTECTED] PGP Key ID: 0xDD12F253 Socio numero 78 de ANURI
#! /bin/sh /usr/share/dpatch/dpatch-run
## SRC_src_prism2_driver_prism2_usb_c.dpatch by <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Closes #338112 incompatible with 2.4.27 kernels: unresolved symbol
"msleep" in prism2_usb.o.
## DP: msleep chaged to mdelay
## DP: msleep is on kernel > 2.4.27
@DPATCH@
diff -urNad linux-wlan-ng-0.2.2+dfsg~/src/prism2/driver/prism2_usb.c
linux-wlan-ng-0.2.2+dfsg/src/prism2/driver/prism2_usb.c
--- linux-wlan-ng-0.2.2+dfsg~/src/prism2/driver/prism2_usb.c 2005-05-05
22:47:31.000000000 +0200
+++ linux-wlan-ng-0.2.2+dfsg/src/prism2/driver/prism2_usb.c 2005-11-12
20:50:06.000000000 +0100
@@ -279,8 +279,11 @@
* is "wake up", so that's easy.
* (I'd like a better way to do this, really.)
*/
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,28))
+ mdelay(100);
+#else
msleep(100);
-
+#endif
/* Now delete the CTLXs, because no-one else can now. */
list_for_each_safe(entry, temp, &cleanlist) {
hfa384x_usbctlx_t *ctlx;
signature.asc
Description: OpenPGP digital signature

