[Linux-wlan-ng-devel] Bug#338112: incompatible with 2.4.27 kernels: unresolved symbol "msleep" in prism2_usb.o

Victor Seva linuxmaniac at torreviejawireless.org
Sat Nov 12 19:44:13 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> $ nm -u linux-wlan/lib/modules/2.4.27-2-686/linux-wlan-ng/prism2_usb.o |grep msleep
>          U msleep
> $
> 
> It looks like this symbol is still missing.  I also don't see anything in
> the changelog that explains what you changed to fix this?

Oh... I think I've made a mistake building that version. Can you test, again, this revised version?
[0] ( same URL). I've added an entry on the changelog and that's the patch I've introduced:

## SRC_src_prism2_driver_prism2_usb_c.dpatch by  <linuxmaniac en torreviejawireless.org>
##
## 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

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;



Thanks

- --
Victor Seva
linuxmaniac en torreviejawireless.org
http://www.torreviejawireless.org
http://linuxmaniac.homeip.net
jabber: linuxmaniac en jabber.torreviejawireless.org
PGP Key ID: 0xDD12F253
Socio numero 78 de ANURI
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDdkYMS/DSSd0S8lMRArHNAKCigV++52YYioOqQIMYj07991fKbwCeKWaM
xA4rbNi7IN8tSRaFyAvarx0=
=2v3z
-----END PGP SIGNATURE-----





More information about the Linux-wlan-ng-devel mailing list