[PATCH] libertas: fix a few wext abuses...
authorJean Tourrilhes <jt@hpl.hp.com>
Thu, 2 Aug 2007 17:16:30 +0000 (13:16 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:50:12 +0000 (16:50 -0700)
commit9483f03150cbfa1f706355b7f9d218d6086c6fce
treeaaf127fa470555557ca20d03d2b4d46a0ca3a2c1
parentd21b31fd53626f9c1d14fc676793dbe86b44d1c6
[PATCH] libertas: fix a few wext abuses...

o SIOCGIWNAME is not designed to return the version number of the driver.
On the other hand, you are free to abuse SIOCGIWNICKN for that purpose.

o Don't attempt to fix the WE19/WE20 transition in the driver, because
your fixes are bogus, and redundant with the code in the kernel (you may
endup with +2, you can't read 32 char ESSID...).

o In SIOCSIWTXPOW, if you specified in iwrange that you want dBm, you
should only get dBm, which allow to reduce code bloat.

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/wext.c