提交 54233261 编写于 作者: J John W. Linville

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

Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册