Wireless extension compile fix for 2.4.19-pre kernels.

This commit is contained in:
solomon 2002-05-14 17:07:25 +00:00
parent 3c6731b19c
commit 1805a20fc8
3 changed files with 13 additions and 1 deletions

View File

@ -43,6 +43,8 @@
* --------------------------------------------------------------------
0.1.14
-pre3
- Applied Tim Fletcher's patch to allow compilation against
the newest versions of the wireless extensions. (V13)
- Added jwyatt's patch for the Compaq Evo N600C USB adapter thing.
- Per mwelk's suggestion, changed the displaystring totext to single
quote the strings. Hopefully this will take care of some of the

1
THANKS
View File

@ -80,6 +80,7 @@ Bryan Huang <bryan.huang@bromax.com.tw>
Tony Seward <anthony.seward@ieee.org>
Matthias Welk <welk@fokus.gmd.de>
Josh Wyatt <Josh.Wyatt@hcssystems.com>
Tim Fletcher <tim@parrswood.manchester.sch.uk>
[Many, many more. If I've overlooked you and you want to be listed here,
send me e-mail and I'll fix it. I _know_ a bunch of linux-wlan contributors

View File

@ -129,7 +129,16 @@ int prism2wext_support_ioctl(struct net_device *dev, struct iwreq *iwr, int cmd)
WLAN_LOG_DEBUG1(1, "received wireless extension- compatible ioctl #%d.\n", cmd);
switch (cmd) {
case SIOCSIWNAME: /* unused */
/*
* From the changelog in linux/wireless.h SIOCSIWNAME was renamed to
* SIOCSIWCOMMIT, and as we include the kernel includes first this
* breaks things
*/
#if WIRELESS_EXT < 13
case SIOCSIWNAME: /* unused */
#else
case SIOCSIWCOMMIT: /* unused */
#endif
err = (-EOPNOTSUPP);
break;