diff mbox

mac80211: Fix the Problem of Unreachable Mesh STA from DS

Message ID 1341995301-24611-1-git-send-email-yeohchunyeow@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Chun-Yeow Yeoh July 11, 2012, 8:28 a.m. UTC
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(-)

Comments

Johannes Berg July 11, 2012, 8:40 a.m. UTC | #1
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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Chun-Yeow Yeoh July 11, 2012, 9:03 a.m. UTC | #2
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Johannes Berg July 11, 2012, 9:31 a.m. UTC | #3
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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Chun-Yeow Yeoh July 11, 2012, 9:35 a.m. UTC | #4
> So this should be applied to 3.5?
Yes
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;