error structure has no member named 'wireless_data'

Romeo Theriault romeotheriault at gmail.com
Thu Sep 21 16:28:17 EDT 2006


Hi Pavel, Is it possible for me to edit a few files and change some  
of these values to get it compile?

If so, What files would I edit and what would I need to change?

Thank you,

Romeo




On Sep 21, 2006, at 4:21 PM, Pavel Roskin wrote:

> 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