]> bbs.cooldavid.org Git - net-next-2.6.git/commit
mac80211: Fragmentation threshold (typo)
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 14 Apr 2009 04:32:56 +0000 (06:32 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 16 Apr 2009 14:39:16 +0000 (10:39 -0400)
commit23a99840d571a237845fd0906bce78e7c76be650
tree08cb063e845e9a4adac60cf34974ef32d643534f
parentf05faa31c387fb07f4c561350f00ba12cf673c9f
mac80211: Fragmentation threshold (typo)

mac80211: Fragmentation threshold (typo)

ieee80211_ioctl_siwfrag() sets the fragmentation_threshold to 2352
when frame fragmentation is to be disabled, yet the corresponding
'get' function tests for 2353 bytes instead.

This causes user-space tools to display a fragmentation threshold
of 2352 bytes even if fragmentation has been disabled.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wext.c