mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 08:44:39 +01:00
This updates mac80211 to version 6.1.145-1. This code is based on Linux 6.1.145 and contains all fixes included in the upstream wireless subsystem from that kernel version. This includes many bugfixes and also some security fixes. The removed patches were applied upstream. Link: https://github.com/openwrt/openwrt/pull/16948 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From a1e91ef92392e5da15a1a16f8545ede2c02f7049 Mon Sep 17 00:00:00 2001
|
|
From: Johannes Berg <johannes.berg@intel.com>
|
|
Date: Wed, 1 Mar 2023 12:09:24 +0200
|
|
Subject: [PATCH] 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 | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/net/mac80211/mlme.c
|
|
+++ b/net/mac80211/mlme.c
|
|
@@ -3240,7 +3240,7 @@ static void ieee80211_mgd_probe_ap(struc
|
|
struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;
|
|
bool already = false;
|
|
|
|
- if (WARN_ON(sdata->vif.valid_links))
|
|
+ if (WARN_ON_ONCE(sdata->vif.valid_links))
|
|
return;
|
|
|
|
if (!ieee80211_sdata_running(sdata))
|