Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c751ef8 authored by Javier Lopez's avatar Javier Lopez Committed by Johannes Berg
Browse files

mac80211: fix for mesh beacon update on powersave



Mesh beacon was not being rebuild after user triggered a mesh
powersave change.

To solve this issue use ieee80211_mbss_info_change_notify instead
of ieee80211_bss_info_change_notify. This helper function forces
mesh beacon to be rebuild and then notifies the driver about the
beacon change.

Signed-off-by: default avatarJavier Lopez <jlopex@cozybit.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 57fb089f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1368,7 +1368,7 @@ static int sta_apply_parameters(struct ieee80211_local *local,
			changed |=
			      ieee80211_mps_set_sta_local_pm(sta,
							     params->local_pm);
		ieee80211_bss_info_change_notify(sdata, changed);
		ieee80211_mbss_info_change_notify(sdata, changed);
#endif
	}