Skip to contentSkip to conversation

wifi: mac80211: fix description of ieee80211_set_active_links() for new sequence

PATCH New Zong-Zhe Yang 1 participant 1 message Nov 1, 2024 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wifi: mac80211: fix description of ieee80211_set_active_links() for new sequence

The sequence of calls has changed, but the description is inconsistent. So, fix the description.

Fixes 188a1bf89432 ("wifi: mac80211: re-order assigning channel in activate links")
---
 include/net/mac80211.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/mac80211.h +1 -1
index b4f246cdcca4..a97c9f85ae9a 100644
@@ -7672,12 +7672,12 @@ static inline bool ieee80211_is_tx_data(struct sk_buff *skb)
  *
  *  - change_vif_links(0x11)
  *  - unassign_vif_chanctx(link_id=0)
+ *  - assign_vif_chanctx(link_id=4)
  *  - change_sta_links(0x11) for each affected STA (the AP)
  *    (TDLS connections on now inactive links should be torn down)
  *  - remove group keys on the old link (link_id 0)
  *  - add new group keys (GTK/IGTK/BIGTK) on the new link (link_id 4)
  *  - change_sta_links(0x10) for each affected STA (the AP)
- *  - assign_vif_chanctx(link_id=4)
  *  - change_vif_links(0x10)
  *
  * Return: 0 on success. An error code otherwise.
Signature · 1 line
2.39.0