Re: linux-next: build failure after merge of the iwlwifi-next tree

From: Sasha Levin

Date: Thu Dec 03 2026 - 21:17:08 EST


On Thu, Dec 03, 2026 at 05:05:51PM +0000, Mark Brown wrote:
> /tmp/next/build/drivers/net/wireless/intel/iwlwifi/mld/sta.c:918:24: error: unused variable 'vif' [-Werror,-Wunused-variable]
> 918 | struct ieee80211_vif *vif = mld_sta->vif;
> | ^~~
>
> Caused by commit
>
> 6ed3bee0066bb (wifi: mac80211: use sta->active_links in for_each_sta_active_link())

There is a fix for this on the list:

https://lore.kernel.org/all/20261203133432.3922118-1-sashal@xxxxxxxxxx/

6ed3bee0066bb only stopped passing 'vif' to the iterator. The variable
was still used by the iwl_mld_remove_ap_keys() call in the loop until
ebcebe390b9c ("wifi: iwlwifi: mld: request per-STA GTKs for the AP")
removed that, so the build breaks from ebcebe390b9c on.

--
Thanks,
Sasha