linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AW: [PATCH] cfg80211: fix wext-compat for setting rate to 'auto'
@ 2010-01-27 15:51 Joerg Pommnitz
  2010-01-27 16:17 ` John W. Linville
  0 siblings, 1 reply; 4+ messages in thread
From: Joerg Pommnitz @ 2010-01-27 15:51 UTC (permalink / raw)
  To: linux-wireless, John W. Linville; +Cc: John W. Linville

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

Tested-by: "Joerg Pommnitz" <pommnitz@yahoo.com>

-- 
Regards
       Joerg


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

> Von: John W. Linville <linville@tuxdriver.com>
> Betreff: [PATCH] cfg80211: fix wext-compat for setting rate to 'auto'
> An: linux-wireless@vger.kernel.org
> CC: "Joerg Pommnitz" <pommnitz@yahoo.com>, "John W. Linville" <linville@tuxdriver.com>
> Datum: Mittwoch, 27. Januar 2010, 15:44
> Signed-off-by: John W. Linville
> <linville@tuxdriver.com>
> ---
> 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 

^ permalink raw reply	[flat|nested] 4+ messages in thread
* mac80211: Open bug in current wireless-testing
@ 2010-01-27 14:17 Joerg Pommnitz
  2010-01-27 14:44 ` [PATCH] cfg80211: fix wext-compat for setting rate to 'auto' John W. Linville
  0 siblings, 1 reply; 4+ messages in thread
From: Joerg Pommnitz @ 2010-01-27 14:17 UTC (permalink / raw)
  To: linux-wireless

Hello all,
some time ago I reported that it is currently impossible to change a manually selected data rate back to the automatic rate selection. This bug is still present and is easy to reproduce:

iwconfig wlan0 rate 54M
iwconfig wlan0 rate auto

I know that the wireless extensions are deprecated, but until iw supports manual rate selection, iwconfig is what I have to use.

-- 
Regards
       Joerg

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-28  8:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-27 15:51 AW: [PATCH] cfg80211: fix wext-compat for setting rate to 'auto' Joerg Pommnitz
2010-01-27 16:17 ` John W. Linville
2010-01-28  8:34   ` Joerg Pommnitz
  -- strict thread matches above, loose matches on Subject: below --
2010-01-27 14:17 mac80211: Open bug in current wireless-testing Joerg Pommnitz
2010-01-27 14:44 ` [PATCH] cfg80211: fix wext-compat for setting rate to 'auto' John W. Linville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).