mac80211: fix DS to MBSS address translation
authorThomas Pedersen <thomas@cozybit.com>
Mon, 20 Aug 2012 18:28:25 +0000 (11:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Aug 2012 07:45:05 +0000 (09:45 +0200)
commit27f011243a6e4e8b81078df1d83608dae31e3d38
tree1ceae97b5e1ff1e17dc101f820e7c3b424e66b8e
parent899852af60c212bfe9a2fb71d4d9082d2622df5c
mac80211: fix DS to MBSS address translation

The destination address of unicast frames forwarded through a mesh gate
was being replaced with the broadcast address. Instead leave the
original destination address as the mesh DA. If the nexthop address is
not in the mpath table it will be resolved. If that fails, the frame
will be forwarded to known mesh gates.

Reported-by: Cedric Voncken <cedric.voncken@acksys.fr>
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c