On Thu, Oct 13, 2022 at 08:15:56PM +0200, Felix Fietkau wrote:
From: Johannes Berg johannes.berg@intel.com
commit a5b983c6073140b624f64e79fea6d33c3e4315a0 upstream.
We currently pass the entire elements to the rx_bcn_presp() method, but only need mesh_config. Additionally, we use the length of the elements to calculate back the entire frame's length, but that's confusing - just pass the length of the frame instead.
Link: https://lore.kernel.org/r/20210920154009.a18ed3d2da6c.I1824b773a0fbae4453e14... Signed-off-by: Johannes Berg johannes.berg@intel.com
net/mac80211/ieee80211_i.h | 7 +++---- net/mac80211/mesh.c | 4 ++-- net/mac80211/mesh_sync.c | 26 ++++++++++++-------------- 3 files changed, 17 insertions(+), 20 deletions(-)
Many thanks for this series. Will this also work in 5.4.y and 5.10.y?
greg k-h