• Jean Tourrilhes's avatar
    [PATCH] libertas: fix a few wext abuses... · 9483f031
    Jean Tourrilhes authored
    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: default avatarJean Tourrilhes <jt@hpl.hp.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    9483f031
wext.c 54.5 KB