Hi Greg,
 
The patch below allows using Wireless Extensions version > 16 (version
18 required for 11i support) in the latest 2.4 kernel.
 
Assaf
 
# svn diff -r 1328:1330 linux-2.4.x/net/core/wireless.c
Index: linux-2.4.x/net/core/wireless.c
===================================================================
--- linux-2.4.x/net/core/wireless.c     (revision 1328)
+++ linux-2.4.x/net/core/wireless.c     (revision 1330)
@@ -180,8 +180,7 @@
        /* SIOCGIWPOWER */
        { IW_HEADER_TYPE_PARAM, 0, 0, 0, 0, 0},
 };
-static const int standard_ioctl_num = (sizeof(standard_ioctl) /
-                                      sizeof(struct
iw_ioctl_description));
+static const int standard_ioctl_num = SIOCIWLAST - SIOCIWFIRST;

         
         /*
          * Meta-data about all the additional standard Wireless
Extension events
        
         
         
         



-- Disclaimer: --
This e-mail is intended solely for the person to whom it is addressed and may 
contain confidential or legally privileged information. Access to this e-mail 
by anyone else is unauthorized. If an addressing or transmission error has 
misdirected this e-mail, please notify the author by replying to this e-mail 
and destroy this e-mail and any attachments. 
E-mail may be susceptible to data corruption, interception, unauthorized 
amendment, viruses and delays or the consequences thereof. If you are not the 
intended recipient, be advised that you have received this email in error and 
that any use, dissemination, forwarding, printing or copying of this email is 
strictly prohibited.
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to