mac80211: Fix addition of mesh configuration element
authorIlan peer <ilan.peer@intel.com>
Mon, 26 Dec 2016 16:17:36 +0000 (18:17 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 2 Jan 2017 10:58:26 +0000 (11:58 +0100)
commit57629915d568c522ac1422df7bba4bee5b5c7a7c
tree24aa5732c929d89e6ad3ec9af1c9143904db98d0
parent7b854982b273134e4ff02c61a74e70e1b1876286
mac80211: Fix addition of mesh configuration element

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")
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.c