projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fdae6b
)
mac80211: add support for iwconfig wlanX frag auto
author
Emmanuel Grumbach
<emmanuel.grumbach@intel.com>
Thu, 3 Jul 2008 15:02:27 +0000
(18:02 +0300)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 8 Jul 2008 18:16:02 +0000
(14:16 -0400)
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wext.c
patch
|
blob
|
history
diff --git
a/net/mac80211/wext.c
b/net/mac80211/wext.c
index 1babb979fe001da43506c47e54be9922fc3460d9..736c32e340f20c4debeee33e77d84994275ba42b 100644
(file)
--- a/
net/mac80211/wext.c
+++ b/
net/mac80211/wext.c
@@
-800,6
+800,8
@@
static int ieee80211_ioctl_siwfrag(struct net_device *dev,
if (frag->disabled)
local->fragmentation_threshold = IEEE80211_MAX_FRAG_THRESHOLD;
+ else if (!frag->fixed)
+ local->fragmentation_threshold = IEEE80211_MAX_FRAG_THRESHOLD;
else if (frag->value < 256 ||
frag->value > IEEE80211_MAX_FRAG_THRESHOLD)
return -EINVAL;