mac80211: fix PREQ processing and one small bug
authorPorsch, Marco <marco.porsch@siemens.com>
Wed, 24 Feb 2010 08:53:13 +0000 (09:53 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Mar 2010 19:37:23 +0000 (15:37 -0400)
commit533866b12cce484994163b1e201778cbac4c04c5
tree6623b75a54f72e53da78fc2982b8486d62346aae
parentc7a00dc73b7185ab2ebd1aa7ce710c7b4edc77a4
mac80211: fix PREQ processing and one small bug

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>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_hwmp.c