projects
/
firefly-linux-kernel-4.4.55.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 966d2f01beac2a26060df2bd284369fc3656f251..b17eeae448d54417d30ee687395eb075ec7a7f5a 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 */