2012-07-11 08:29:04

by Chun-Yeow Yeoh

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
Signed-off-by: Chun-Yeow Yeoh <[email protected]>
---
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



2012-07-11 08:40:30

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] mac80211: Fix the Problem of Unreachable Mesh STA from DS

On Wed, 2012-07-11 at 16:28 +0800, Chun-Yeow Yeoh wrote:
> 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.

Is this relevant for any tree other than mac80211-next?

johannes


2012-07-11 09:35:46

by Chun-Yeow Yeoh

[permalink] [raw]
Subject: Re: [PATCH] mac80211: Fix the Problem of Unreachable Mesh STA from DS

> So this should be applied to 3.5?
Yes

2012-07-11 09:03:42

by Chun-Yeow Yeoh

[permalink] [raw]
Subject: Re: [PATCH] mac80211: Fix the Problem of Unreachable Mesh STA from DS

> Is this relevant for any tree other than mac80211-next?
The previous patch is already inside the compat-wireless 3.5 stable releases.

Chun-Yeow

2012-07-11 09:31:58

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] mac80211: Fix the Problem of Unreachable Mesh STA from DS

On Wed, 2012-07-11 at 17:03 +0800, Yeoh Chun-Yeow wrote:
> > Is this relevant for any tree other than mac80211-next?
> The previous patch is already inside the compat-wireless 3.5 stable releases.

So this should be applied to 3.5?

johannes