projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e16e5
)
cfg80211: fix wext-compat for setting rate to 'auto'
author
John W. Linville
<linville@tuxdriver.com>
Wed, 27 Jan 2010 14:44:48 +0000
(09:44 -0500)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 27 Jan 2010 20:02:09 +0000
(15:02 -0500)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/wext-compat.c
patch
|
blob
|
history
diff --git
a/net/wireless/wext-compat.c
b/net/wireless/wext-compat.c
index
966d2f0
..
b17eeae
100644
(file)
--- 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 */