projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88a93df
)
[PATCH] ipw2200: mark "iwconfig retry 255" as invalid
author
Zhu Yi
<yi.zhu@intel.com>
Mon, 21 Aug 2006 03:38:17 +0000
(11:38 +0800)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 29 Aug 2006 21:06:33 +0000
(17:06 -0400)
The ipw2200 firmware/ucode only support values from 0 to 254. So mark 255
as invalid.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2200.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ipw2200.c
b/drivers/net/wireless/ipw2200.c
index 0e5548a15f41abffef0f0c344a77be5415b37693..e18fbca83cef84daabeebb34a6fc706048d24a69 100644
(file)
--- a/
drivers/net/wireless/ipw2200.c
+++ b/
drivers/net/wireless/ipw2200.c
@@
-9255,7
+9255,7
@@
static int ipw_wx_set_retry(struct net_device *dev,
if (!(wrqu->retry.flags & IW_RETRY_LIMIT))
return 0;
- if (wrqu->retry.value < 0 || wrqu->retry.value > 255)
+ if (wrqu->retry.value < 0 || wrqu->retry.value >
=
255)
return -EINVAL;
mutex_lock(&priv->mutex);