Search Linux Wireless

AW: [PATCH] cfg80211: fix wext-compat for setting rate to 'auto'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John,
thanks for the quick response. The patch works fine for me. Feel free to add a

Tested-by: "Joerg Pommnitz" <pommnitz@xxxxxxxxx>

-- 
Regards
       Joerg


--- John W. Linville <linville@xxxxxxxxxxxxx> schrieb am Mi, 27.1.2010:

> Von: John W. Linville <linville@xxxxxxxxxxxxx>
> Betreff: [PATCH] cfg80211: fix wext-compat for setting rate to 'auto'
> An: linux-wireless@xxxxxxxxxxxxxxx
> CC: "Joerg Pommnitz" <pommnitz@xxxxxxxxx>, "John W. Linville" <linville@xxxxxxxxxxxxx>
> Datum: Mittwoch, 27. Januar 2010, 15:44
> Signed-off-by: John W. Linville
> <linville@xxxxxxxxxxxxx>
> ---
> Haven't had a chance to test yet, but I suspect this fixes
> the issue...?
> 
>  net/wireless/wext-compat.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/net/wireless/wext-compat.c
> b/net/wireless/wext-compat.c
> index 966d2f0..b17eeae 100644
> --- a/net/wireless/wext-compat.c
> +++ b/net/wireless/wext-compat.c
> @@ -1214,7 +1214,7 @@ int cfg80211_wext_siwrate(struct
> net_device *dev,
>  
>      memset(&mask, 0, sizeof(mask));
>      fixed = 0;
> -    maxrate = 0;
> +    maxrate = (u32)-1;
>  
>      if (rate->value < 0) {
>          /* nothing */
> -- 
> 1.6.2.5
> 
>


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux