]> Gentwo Git Trees - linux/.git/commit
wifi: mac80211: reset FILS discovery and unsol probe resp intervals
authorAloka Dixit <aloka.dixit@oss.qualcomm.com>
Wed, 24 Sep 2025 13:00:14 +0000 (18:30 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Oct 2025 11:53:06 +0000 (13:53 +0200)
commit607844761454e3c17e928002e126ccf21c83f6aa
treebe76ea2dad80f8a876549179f89e7fb643dccdee
parent634ec1fc7982efeeeeed4a7688b0004827b43a21
wifi: mac80211: reset FILS discovery and unsol probe resp intervals

When ieee80211_stop_ap() deletes the FILS discovery and unsolicited
broadcast probe response templates, the associated interval values
are not reset. This can lead to drivers subsequently operating with
the non-zero values, leading to unexpected behavior.

Trigger repeated retrieval attempts of the FILS discovery template in
ath12k, resulting in excessive log messages such as:

mac vdev 0 failed to retrieve FILS discovery template
mac vdev 4 failed to retrieve FILS discovery template

Fix this by resetting the intervals in ieee80211_stop_ap() to ensure
proper cleanup of FILS discovery and unsolicited broadcast probe
response templates.

Fixes: 295b02c4be74 ("mac80211: Add FILS discovery support")
Fixes: 632189a0180f ("mac80211: Unsolicited broadcast probe response support")
Signed-off-by: Aloka Dixit <aloka.dixit@oss.qualcomm.com>
Signed-off-by: Aaradhana Sahu <aaradhana.sahu@oss.qualcomm.com>
Link: https://patch.msgid.link/20250924130014.2575533-1-aaradhana.sahu@oss.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c