]> git.baikalelectronics.ru Git - kernel.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)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 6 Feb 2017 06:59:07 +0000 (07:59 +0100)
commit7f60cd241bf485458441c38b0efb2e44c2beed55
treecf32d8c2630bb1f12811a3ba41eb7acbc7e77372
parentf373b5c1d61c73d2e1a654b101eeabb02a24b597
nl80211: Fix mesh HT operation check

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: 127d200a0042 ("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>
net/wireless/nl80211.c