diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-01-27 09:44:48 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-27 15:02:09 -0500 |
commit | 54233261d5aa2926f080b67ac22f508c9f15e690 (patch) | |
tree | 6eb14f69d5c5d3257768cac56a2935f87886eb42 /net/wireless | |
parent | 22e16e55e36ab91148592c9bf0f2444bf766cd3c (diff) |
cfg80211: fix wext-compat for setting rate to 'auto'
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | 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 966d2f01beac..b17eeae448d5 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, | |||
1214 | 1214 | ||
1215 | memset(&mask, 0, sizeof(mask)); | 1215 | memset(&mask, 0, sizeof(mask)); |
1216 | fixed = 0; | 1216 | fixed = 0; |
1217 | maxrate = 0; | 1217 | maxrate = (u32)-1; |
1218 | 1218 | ||
1219 | if (rate->value < 0) { | 1219 | if (rate->value < 0) { |
1220 | /* nothing */ | 1220 | /* nothing */ |