diff options
author | Chun-Yeow Yeoh <yeohchunyeow@gmail.com> | 2012-07-11 08:28:21 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-11 20:24:54 (GMT) |
commit | 7c41f3159ca4f04dfc22c791fd96d3d057dcaf90 (patch) | |
tree | 061e9d3608758a020ed7a2103776e296b50f1919 /net/mac80211/tx.c | |
parent | 353d09c6ceedc1cb0c54fe5002c0ca80b6ee6e4f (diff) | |
download | linux-7c41f3159ca4f04dfc22c791fd96d3d057dcaf90.tar.xz |
mac80211: Fix the Problem of Unreachable Mesh STA from DS
This patch fixes the problem of unreachable mesh STA from
Distribution System (DS) due to the introduction of previous
patch solving the mesh STA joining from one MBSS to another
MBSS.
Reported-by: Georgiewskiy Yuriy <bottleman@icf.org.ru>
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 85cf32d..eab0d19 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -1836,6 +1836,9 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, /* RA TA mDA mSA AE:DA SA */ mesh_da = mppath->mpp; is_mesh_mcast = 0; + } else if (mpath) { + mesh_da = mpath->dst; + is_mesh_mcast = 0; } else { /* DA TA mSA AE:SA */ mesh_da = bcast; |