mac80211: fix the support of setting non-forwarding entity in Mesh
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Thu, 1 Mar 2012 18:03:19 +0000 (02:03 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:38:33 +0000 (15:38 -0500)
commitd665508b98d3cdbeb476e7d6848a513184a81ed0
tree00032469034dc31c007251d956396bcfbe2103c6
parentfe8431f89e25de722610ee5beb2892bd019d1fed
mac80211: fix the support of setting non-forwarding entity in Mesh

RANN, PREP and PERR propagation should happen only if the
dot11MeshForwarding is true.  Besides, data frame should not be
forwarded if dot11MeshForwarding is false. This redundant checking
is necessary to avoid the broadcasted ARP breaking the non-forwarding
rule.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_hwmp.c
net/mac80211/rx.c