Bus Master Mode

Ian Cass ian.cass
Tue Apr 1 01:12:23 PST 2003


Ian Cass <ian.cass at mblox.com> wrote:
> Hi,
> 
> I tried compiling up the latest CVS with PRISM2_BUS_MASTER enabled,
> but it's giving errors on compile
> 
> In file included from driver/modules/hostap_pci.c:164:
> driver/modules/hostap_hw.c: In function `prism2_bus_master_ev':
> driver/modules/hostap_hw.c:3451: `local' undeclared (first use in this
> function)
> driver/modules/hostap_hw.c:3451: (Each undeclared identifier is
> reported only once
> driver/modules/hostap_hw.c:3451: for each function it appears in.)
> make: *** [driver/modules/hostap_pci.o] Error 1
> 
> Any ideas?

I've 'fixed' it by moving ...

local_info_t *local = (local_info_t *) dev->priv;

... outside the if .. then .. else structure.

I've no idea if this will actually work, but it fixes the compile problem.

-- 
Ian Cass




More information about the Hostap mailing list