summaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorChun-Yeow Yeoh2012-07-11 10:28:21 +0200
committerJohn W. Linville2012-07-11 22:24:54 +0200
commit7c41f3159ca4f04dfc22c791fd96d3d057dcaf90 (patch)
tree061e9d3608758a020ed7a2103776e296b50f1919 /net/mac80211/tx.c
parentmac80211: fix read outside array bounds (diff)
downloadkernel-qcow2-linux-7c41f3159ca4f04dfc22c791fd96d3d057dcaf90.tar.gz
kernel-qcow2-linux-7c41f3159ca4f04dfc22c791fd96d3d057dcaf90.tar.xz
kernel-qcow2-linux-7c41f3159ca4f04dfc22c791fd96d3d057dcaf90.zip
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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 85cf32d2f7b5..eab0d19eb4bd 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;