Skip to contentSkip to conversation

Patch "mac80211: Fix addition of mesh configuration element" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Dec 18, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

mac80211: Fix addition of mesh configuration element

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
mac80211-fix-addition-of-mesh-configuration-element.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 57629915d568c522ac1422df7bba4bee5b5c7a7c Mon Sep 17 00:00:00 2001

From: Ilan peer <[email protected]>
Date: Mon, 26 Dec 2016 18:17:36 +0200
Subject: mac80211: Fix addition of mesh configuration element

From: Ilan peer <[email protected]>

commit 57629915d568c522ac1422df7bba4bee5b5c7a7c upstream.

The code was setting the capabilities byte to zero, after it was already properly set previously. Fix it.

The bug was found while debugging hwsim mesh tests failures that happened since the commit mentioned below.

Fixes 76f43b4c0a93 ("mac80211: Remove invalid flag operations in mesh TSF synchronization")
Cc Richard Schütz <[email protected]>
Cc Mathias Kretschmer <[email protected]>
---
 net/mac80211/mesh.c |    2 --
 1 file changed, 2 deletions(-)
net/mac80211/mesh.c +0 -2
@@ -295,8 +295,6 @@ int mesh_add_meshconf_ie(struct ieee8021
 	/* Mesh PS mode. See IEEE802.11-2012 8.4.2.100.8 */
 	*pos |= ifmsh->ps_peers_deep_sleep ?
 			IEEE80211_MESHCONF_CAPAB_POWER_SAVE_LEVEL : 0x00;
-	*pos++ = 0x00;
-
 	return 0;
 }
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/mac80211-fix-addition-of-mesh-configuration-element.patch