]> git.karo-electronics.de Git - linux-beck.git/commit
nl80211: Fix mesh HT operation check
authorMasashi Honma <masashi.honma@gmail.com>
Wed, 25 Jan 2017 23:56:13 +0000 (08:56 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2017 23:25:37 +0000 (15:25 -0800)
commitf9bd791be5b8755746528df95885a2b4a25b6ff6
tree5f97767d50c793e0cc3f695a1bb758d7bc3dc912
parent8920a7f28ad837661bc5b9333240425dbcdc6720
nl80211: Fix mesh HT operation check

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")
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
[rewrite commit message to use Fixes: line]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/wireless/nl80211.c