kernel_optimize_test/net
John W. Linville 67a4cce4a8 [PATCH] mac80211: make ieee802_11_parse_elems return void
Some APs send management frames with junk padding after the last IE.
We already account for a similar problem with some Apple Airport
devices, but at least one device is known to send more than a single
extra byte.  The device in question is the Draytek Vigor2900:

	http://www.draytek.com.au/products/Vigor2900.php

The junk in question looks like an IE that runs off the end of the
frame.  This cause us to return ParseFailed.  Since the frame in
question is an association response, this causes us to fail to associate
with this AP.

The return code from ieee802_11_parse_elems is superfluous.
All callers still check for the presence of the specific IEs that
interest them anyway.  So, remove the return code so the parse never
"fails".

Acked-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2007-10-18 14:36:18 -04:00
..
9p 9p: remove sysctl 2007-10-17 14:35:15 -05:00
802
8021q
appletalk
atm [BR2684]: get rid of broken header code. 2007-10-17 19:39:22 -07:00
ax25
bluetooth
bridge
core [IPSEC]: Rename mode to outer_mode and add inner_mode 2007-10-17 21:35:51 -07:00
dccp [DCCP]: fix link error with !CONFIG_SYSCTL 2007-10-17 19:33:06 -07:00
decnet
econet
ethernet
ieee80211
ipv4 [TCP]: Remove lost_retrans zero seqno special cases 2007-10-18 05:07:57 -07:00
ipv6 [IPV6]: Fix again the fl6_sock_lookup() fixed locking 2007-10-18 05:38:48 -07:00
ipx
irda [IRDA]: IrCOMM discovery indication simplification 2007-10-17 19:34:11 -07:00
iucv
key
lapb
llc
mac80211 [PATCH] mac80211: make ieee802_11_parse_elems return void 2007-10-18 14:36:18 -04:00
netfilter [NETFILTER]: nf_conntrack_tcp: fix connection reopening fix 2007-10-18 05:20:12 -07:00
netlabel
netlink
netrom
packet
rfkill
rose
rxrpc
sched [NET]: fix carrier-on bug? 2007-10-17 23:26:43 -07:00
sctp
sunrpc
tipc
unix
wanrouter
wireless
x25
xfrm [IPSEC]: Rename mode to outer_mode and add inner_mode 2007-10-17 21:35:51 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c r/o bind mounts: filesystem helpers for custom 'struct file's 2007-10-17 08:43:04 -07:00
sysctl_net.c
TUNABLE