All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mac80211: Fix the Problem of Unreachable Mesh STA from DS
@ 2012-07-11  8:28 Chun-Yeow Yeoh
  2012-07-11  8:40 ` Johannes Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Chun-Yeow Yeoh @ 2012-07-11  8:28 UTC (permalink / raw)
  To: linux-wireless; +Cc: johannes, linville, devel, Chun-Yeow Yeoh

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>
---
 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 07bd305..dd5b151 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1817,6 +1817,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;
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-11  9:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-11  8:28 [PATCH] mac80211: Fix the Problem of Unreachable Mesh STA from DS Chun-Yeow Yeoh
2012-07-11  8:40 ` Johannes Berg
2012-07-11  9:03   ` Yeoh Chun-Yeow
2012-07-11  9:31     ` Johannes Berg
2012-07-11  9:35       ` Yeoh Chun-Yeow

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.