diff options
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 22cb3fb7502e..c878a2f3239c 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -9166,7 +9166,7 @@ static int ipw_wx_set_rts(struct net_device *dev, | |||
9166 | { | 9166 | { |
9167 | struct ipw_priv *priv = ieee80211_priv(dev); | 9167 | struct ipw_priv *priv = ieee80211_priv(dev); |
9168 | mutex_lock(&priv->mutex); | 9168 | mutex_lock(&priv->mutex); |
9169 | if (wrqu->rts.disabled) | 9169 | if (wrqu->rts.disabled || !wrqu->rts.fixed) |
9170 | priv->rts_threshold = DEFAULT_RTS_THRESHOLD; | 9170 | priv->rts_threshold = DEFAULT_RTS_THRESHOLD; |
9171 | else { | 9171 | else { |
9172 | if (wrqu->rts.value < MIN_RTS_THRESHOLD || | 9172 | if (wrqu->rts.value < MIN_RTS_THRESHOLD || |
@@ -9255,7 +9255,7 @@ static int ipw_wx_set_frag(struct net_device *dev, | |||
9255 | { | 9255 | { |
9256 | struct ipw_priv *priv = ieee80211_priv(dev); | 9256 | struct ipw_priv *priv = ieee80211_priv(dev); |
9257 | mutex_lock(&priv->mutex); | 9257 | mutex_lock(&priv->mutex); |
9258 | if (wrqu->frag.disabled) | 9258 | if (wrqu->frag.disabled || !wrqu->frag.fixed) |
9259 | priv->ieee->fts = DEFAULT_FTS; | 9259 | priv->ieee->fts = DEFAULT_FTS; |
9260 | else { | 9260 | else { |
9261 | if (wrqu->frag.value < MIN_FRAG_THRESHOLD || | 9261 | if (wrqu->frag.value < MIN_FRAG_THRESHOLD || |