[PATCH wireless-next 1/4] wifi: cw1200: don't update the beacon in station mode
From: Pablo Mazzini
Date: Mon Nov 02 2026 - 13:11:25 EST
A station has no beacon. The XR819 firmware never confirms the
UPDATE_IE request, so the command times out after association.
Signed-off-by: Pablo Mazzini <pmazzini@xxxxxxxxx>
---
drivers/net/wireless/st/cw1200/sta.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/st/cw1200/sta.c b/drivers/net/wireless/st/cw1200/sta.c
index 5d8eaa700779..f3f31aa52499 100644
--- a/drivers/net/wireless/st/cw1200/sta.c
+++ b/drivers/net/wireless/st/cw1200/sta.c
@@ -1744,7 +1744,9 @@ void cw1200_set_cts_work(struct work_struct *work)
wsm_write_mib(priv, WSM_MIB_ID_NON_ERP_PROTECTION,
&use_cts_prot, sizeof(use_cts_prot));
- wsm_update_ie(priv, &update_ie);
+ /* A station has no beacon to update */
+ if (priv->mode != NL80211_IFTYPE_STATION)
+ wsm_update_ie(priv, &update_ie);
return;
}
--
2.52.0