提交 de9621bc 编写于 作者: J Jean Tourrilhes 提交者: John W. Linville

[PATCH] WE-21 for wl3501

Signed-off-by: NJean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 4ced38ac
...@@ -1802,15 +1802,15 @@ static int wl3501_get_retry(struct net_device *dev, ...@@ -1802,15 +1802,15 @@ static int wl3501_get_retry(struct net_device *dev,
&retry, sizeof(retry)); &retry, sizeof(retry));
if (rc) if (rc)
goto out; goto out;
if (wrqu->retry.flags & IW_RETRY_MAX) { if (wrqu->retry.flags & IW_RETRY_LONG) {
wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_MAX; wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_LONG;
goto set_value; goto set_value;
} }
rc = wl3501_get_mib_value(this, WL3501_MIB_ATTR_SHORT_RETRY_LIMIT, rc = wl3501_get_mib_value(this, WL3501_MIB_ATTR_SHORT_RETRY_LIMIT,
&retry, sizeof(retry)); &retry, sizeof(retry));
if (rc) if (rc)
goto out; goto out;
wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_MIN; wrqu->retry.flags = IW_RETRY_LIMIT | IW_RETRY_SHORT;
set_value: set_value:
wrqu->retry.value = retry; wrqu->retry.value = retry;
wrqu->retry.disabled = 0; wrqu->retry.disabled = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册