Skip to contentSkip to conversation

linux-next: build failure after merge of the net-next tree

PATCH Mark Brown 2 participants 2 messages Jun 4

Subsystems (4)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

Hi all,

After merging the net-next tree, today's linux-next build (arm64 defconfig) failed like this:

/tmp/next/build/net/wireless/nl80211.c: In function 'nl80211_calculate_ap_capabilities':
/tmp/next/build/net/wireless/nl80211.c:6999:41: error: 'struct cfg80211_ap_settings' has no member named 'he_oper'
6999 | if (!!params->he_cap != !!params->he_oper)
| ^~
/tmp/next/build/net/wireless/nl80211.c:7002:42: error: 'struct cfg80211_ap_settings' has no member named 'eht_oper'
7002 | if (!!params->eht_cap != !!params->eht_oper)
| ^~

Caused by commit

cb9959ab5f996 (wifi: cfg80211: enforce HE/EHT cap/oper consistency)

interacting with changes in the net-next tree. I have applied the fixup below:

net/wireless/nl80211.c +2 -2
index c0f8d0bf1bea2..d947a9f6045a9 100644
@@ -6996,10 +6996,10 @@ static int nl80211_calculate_ap_capabilities(struct genl_info *info,
 		}
 	}
 
-	if (!!params->he_cap != !!params->he_oper)
+	if (!!params->he_cap != !!params->beacon.he_oper)
 		return -EINVAL;
 
-	if (!!params->eht_cap != !!params->eht_oper)
+	if (!!params->eht_cap != !!params->beacon.eht_oper)
 		return -EINVAL;
 
 	return 0;
maintainer
#1 lore raw
Quoted 3 lines · On Thu, 4 Jun 2026 15:17:49 +0100 Mark Brown wrote:

Caused by commit

   cb9959ab5f996 (wifi: cfg80211: enforce HE/EHT cap/oper consistency)

Hi, stupid nit but FWIW the quoting format seems to be off in this notification type - missing quotation marks around the subject.