wifi: mac80211: warn only once on AP probe
authorJohannes Berg <johannes.berg@intel.com>
Wed, 1 Mar 2023 10:09:24 +0000 (12:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 Mar 2023 09:55:25 +0000 (10:55 +0100)
commita1e91ef92392e5da15a1a16f8545ede2c02f7049
treefbb3f7b6396f5670a0c02f772ef18c3d6b5ec12b
parent4c532321bf90288dae6b07a3f52279bfde842a80
wifi: mac80211: warn only once on AP probe

We should perhaps support this API for MLO, but it's not
clear that it makes sense, in any case then we'd have to
update it to probe the correct BSS.

For now, if it happens, warn only once so that we don't
get flooded with messages if the driver misbehaves and
calls this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230301115906.1c8499b6fbe6.I1a76a2be3b42ff93904870ac069f0319507adc23@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c