aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r--drivers/net/wireless/ipw2200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 0e5548a15f41..e18fbca83cef 100644
--- 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,
9255 if (!(wrqu->retry.flags & IW_RETRY_LIMIT)) 9255 if (!(wrqu->retry.flags & IW_RETRY_LIMIT))
9256 return 0; 9256 return 0;
9257 9257
9258 if (wrqu->retry.value < 0 || wrqu->retry.value > 255) 9258 if (wrqu->retry.value < 0 || wrqu->retry.value >= 255)
9259 return -EINVAL; 9259 return -EINVAL;
9260 9260
9261 mutex_lock(&priv->mutex); 9261 mutex_lock(&priv->mutex);