Commit 54233261 authored by John W. Linville's avatar John W. Linville

cfg80211: fix wext-compat for setting rate to 'auto'

Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 22e16e55
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment