Re: linux-next: manual merge of the wireless-next tree with the origin tree
From: Enderaoe Lyther
Date: Wed Jul 22 2026 - 16:58:34 EST
Hi Mark,
Thanks for carrying the conflict resolution.
I noticed one semantic conflict later in ieee80211_rx_mgmt_assoc_resp().
Commit 035ed430ce6a2 ("wifi: mac80211: avoid non-S1G AID fallback for S1G
assoc") added:
else if (status_code == WLAN_STATUS_SUCCESS)
goto abandon_assoc;
where abandon_assoc destroyed the association data with ASSOC_ABANDON and
notified the driver.
After f13e573ab3f12 ("wifi: mac80211: notify driver before destroying
assoc link") folds the driver notification into
ieee80211_destroy_assoc_data(), the equivalent target is
destroy_assoc_data, since assoc_status is initialized to ASSOC_ABANDON.
next-20260722 instead has:
else if (status_code == WLAN_STATUS_SUCCESS)
goto notify_driver;
which bypasses ieee80211_destroy_assoc_data(). I believe this should
instead be:
else if (status_code == WLAN_STATUS_SUCCESS)
goto destroy_assoc_data;
Regards,
Zhao
On Wed, 22 Jul 2026 16:57:59 +0100, Mark Brown <broonie@xxxxxxxxxx> wrote:
> Hi all,
>
> Today's linux-next merge of the wireless-next tree got a conflict in:
>
> net/mac80211/mlme.c
>
> between commit:
>
> 035ed430ce6a2 ("wifi: mac80211: avoid non-S1G AID fallback for S1G assoc")
>
> from the origin tree and commit:
>
> f13e573ab3f12 ("wifi: mac80211: notify driver before destroying assoc link")
>
> from the wireless-next tree.
>
> I fixed it up (see below) 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.
>
> diff --cc net/mac80211/mlme.c
> index fa773f3b0541a,d577252dbb9f1..0000000000000
> --- a/net/mac80211/mlme.c
> +++ b/net/mac80211/mlme.c
> @@@ -7140,7 -7191,8 +7193,8 @@@ static void ieee80211_rx_mgmt_assoc_res
> {
> struct ieee80211_if_managed *ifmgd = &sdata->u.mgd;
> struct ieee80211_mgd_assoc_data *assoc_data = ifmgd->assoc_data;
> + enum assoc_status assoc_status = ASSOC_ABANDON;
> - u16 capab_info, status_code, aid;
> + u16 capab_info, status_code, aid = 0;
> struct ieee80211_elems_parse_params parse_params = {
> .bss = NULL,
> .link_id = -1,