error structure has no member named 'wireless_data'

Pavel Roskin proski
Thu Sep 21 13:21:47 PDT 2006


Hello!

On Thu, 2006-09-21 at 14:57 -0400, Dan Williams wrote: 
> On Thu, 2006-09-21 at 14:04 -0400, Romeo Theriault wrote:
[skip] 
> > /root/hostap-driver-0.4.9/driver/modules/hostap.c: In function
> > `hostap_setup_dev':
> > /root/hostap-driver-0.4.9/driver/modules/hostap.c:942: error:
> > structure has no member named `wireless_data'

> Wireless bits did get updated for RHEL4 U4, specifically the ieee80211
> layer and the ipw2200 and ipw2100 drivers.  Wireless Extensions also got
> updated to WE-18 (used to be at WE-16 I think).  Not sure if this error
> is a result of that.

I'm quite sure it is.  Here's the code:

#if WIRELESS_EXT > 16
        if (iface) {
                /* Currently, we point to the proper spy_data only on
                 * the main_dev. This could be fixed. Jean II */
                iface->wireless_data.spy_data = &iface->spy_data;
                dev->wireless_data = &iface->wireless_data;
        }
#else /* WIRELESS_EXT > 16 */
        if (main_dev || (iface && iface->type == HOSTAP_INTERFACE_MAIN))
                dev->get_wireless_stats =  hostap_get_wireless_stats;
#endif /* WIRELESS_EXT > 16 */

It looks like the value of WIRELESS_EXT was increased, but the netdev
structure remained unchanged.  The same thing in hostap_ioctl.c.

-- 
Regards,
Pavel Roskin





More information about the Hostap mailing list