#6 1.0-rc1 unresolved symbol fixed

closed
nobody
None
5
2012-10-06
2004-12-28
Ike Stoddard
No

When I did a "modprobe ndiswrapper", I got:
/lib/modules/2.4.26/misc/ndiswrapper.o: unresolved
symbol netdev_priv

so I hunted it down in the code. Here is the diff -c of
the patch:
wrapper.c~ Mon Dec 27 22:20:55 2004
--- wrapper.c Mon Dec 27 22:24:50 2004
***
1189,1195 ****

static int ndis_set_mac_addr(struct net_device dev,
void
p)
{
! struct ndis_handle handle = dev->priv(dev);
struct sockaddr
addr = p;
struct ndis_config_param param;
struct ustring key, ansi;
--- 1189,1195 ----

static int ndis_set_mac_addr(struct net_device dev,
void
p)
{
! struct ndis_handle handle = dev->priv;
struct sockaddr
addr = p;
struct ndis_config_param param;
struct ustring key, ansi;

I hope this helps the ndiswrapper-writers!

Discussion

  • Logged In: YES
    user_id=918798

    The fix is already in CVS.