wifi: mac80211: fix description of ieee80211_set_active_links() for new sequence
authorZong-Zhe Yang <kevin_yang@realtek.com>
Fri, 1 Nov 2024 08:21:43 +0000 (16:21 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 7 Nov 2024 13:38:01 +0000 (14:38 +0100)
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")
Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Link: https://patch.msgid.link/20241101082143.11138-1-kevin_yang@realtek.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h

index b4f246cdcca4b346a65c0927e345a55baa0cc22a..a97c9f85ae9a562ef8048e4c1576395267072687 100644 (file)
@@ -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.