mac80211: fix PREQ processing and one small bug
commit19247cfcced8bd22953a04e7cedef591c0ea1ec4
authorPorsch, Marco <marco.porsch@siemens.com>
Wed, 24 Feb 2010 08:53:13 +0000 (24 09:53 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:47:48 +0000 (26 07:47 -0700)
tree0745b7e67bc43f0bdac18d205c6379a884ffaaa2
parente0db64375f23e12bbb2c43f89abc099bb61fc2f1
mac80211: fix PREQ processing and one small bug

commit 533866b12cce484994163b1e201778cbac4c04c5 upstream.

1st) a PREQ should only be processed, if it has the same SN and better
metric (instead of better or equal).
2nd) next_hop[ETH_ALEN] now actually used to buffer
mpath->next_hop->sta.addr for use out of lock.

Signed-off-by: Marco Porsch <marco.porsch@siemens.com>
Acked-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/mesh_hwmp.c