Subject: linux-next: manual merge of the wireless-next tree with Linus' and the wireless trees

From: Stephen Rothwell <[email-masked]>
Date: Wed, 12 Mar 2025 13:53:06 +1100

Hi all,

Today's linux-next merge of the wireless-next tree got a conflict in:

  net/wireless/nl80211.c

between commits:

  1f860eb4cdda ("wifi: nl80211: disable multi-link reconfiguration")

from Linus' tree and

  2e85829ac7fb ("wifi: nl80211: fix assoc link handling")

from the wireless tree and commits:

  a096a8602f4f ("wifi: cfg80211: move link reconfig parameters into a struct")
  969241371f06 ("wifi: cfg80211: allow setting extended MLD capa/ops")

from the wireless-next tree.

I fixed it up (see below and I used the latter for the later hunk) and
can carry the fix as necessary. This is now fixed as far as linux-next
is concerned, but any non trivial conflicts should be mentioned to your
upstream maintainer when your tree is submitted for merging.  You may
also want to consider cooperating with the maintainer of the conflicting
tree to minimise any particularly complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc net/wireless/nl80211.c
index 34c0dfeeb7fc,aee49d43cf86..000000000000
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@@ -16512,10 -16518,7 +16524,10 @@@ static int nl80211_assoc_ml_reconf(stru
  
  	add_links = 0;
  	if (info->attrs[NL80211_ATTR_MLO_LINKS]) {
- 		err = nl80211_process_links(rdev, links,
 -		err = nl80211_process_links(rdev, req.add_links, NULL, 0, info);
++		err = nl80211_process_links(rdev, req.add_links,
 +					    /* mark as MLO, but not assoc */
 +					    IEEE80211_MLD_MAX_NUM_LINKS,
 +					    NULL, 0, info);
  		if (err)
  			return err;