aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/wext-compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/wext-compat.c')
-rw-r--r--net/wireless/wext-compat.c2
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 */