Skip to contentSkip to conversation

Patch "nl80211: Fix mesh HT operation check" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Feb 10, 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

nl80211: Fix mesh HT operation check

to the 4.9-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:

     nl80211-fix-mesh-ht-operation-check.patch

and it can be found in the queue-4.9 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 fd551bac4795854adaa87bad7e5136083719802b Mon Sep 17 00:00:00 2001

From: Masashi Honma <[email protected]>
Date: Thu, 26 Jan 2017 08:56:13 +0900
Subject: nl80211: Fix mesh HT operation check

From: Masashi Honma <[email protected]>

commit fd551bac4795854adaa87bad7e5136083719802b upstream.

A previous change to fix checks for NL80211_MESHCONF_HT_OPMODE missed setting the flag when replacing FILL_IN_MESH_PARAM_IF_SET with checking codes. This results in dropping the received HT operation value when called by nl80211_update_mesh_config(). Fix this by setting the flag properly.

Fixes 9757235f451c ("nl80211: correct checks for NL80211_MESHCONF_HT_OPMODE value")
[rewrite commit message to use Fixes: line]
---
 net/wireless/nl80211.c |    1 +
 1 file changed, 1 insertion(+)
net/wireless/nl80211.c +1 -0
@@ -5874,6 +5874,7 @@ do {									    \
 			break;
 		}
 		cfg->ht_opmode = ht_opmode;
+		mask |= (1 << (NL80211_MESHCONF_HT_OPMODE - 1));
 	}
 	FILL_IN_MESH_PARAM_IF_SET(tb, cfg, dot11MeshHWMPactivePathToRootTimeout,
 				  1, 65535, mask,

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

queue-4.9/nl80211-fix-mesh-ht-operation-check.patch