Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103190
b: refs/heads/master
c: fa6adfe
h: refs/heads/master
v: v3
  • Loading branch information
Emmanuel Grumbach authored and John W. Linville committed Jun 27, 2008
1 parent f9e00ef commit 06a126d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 14a7dd6f6c1e0b361a37b6df52d4dc2ea36757d2
refs/heads/master: fa6adfe9e625a6a843a1abed5f4e7a000c11952c
3 changes: 3 additions & 0 deletions trunk/net/mac80211/wext.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,9 @@ static int ieee80211_ioctl_siwrts(struct net_device *dev,

if (rts->disabled)
local->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD;
else if (!rts->fixed)
/* if the rts value is not fixed, then take default */
local->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD;
else if (rts->value < 0 || rts->value > IEEE80211_MAX_RTS_THRESHOLD)
return -EINVAL;
else
Expand Down

0 comments on commit 06a126d

Please sign in to comment.