new file mode 100644
@@ -0,0 +1,17 @@
+This is needed because on earlier kernels the build system still quotes it.
+commit 129ab0d2d9f3 ("kbuild: do not quote string values in include/config/auto.conf")
+in 5.17 changed it.
+
+--- a/net/wireless/Makefile
++++ b/net/wireless/Makefile
+@@ -33,8 +33,8 @@ $(obj)/shipped-certs.c: $(wildcard $(src
+ echo 'unsigned int shipped_regdb_certs_len = sizeof(shipped_regdb_certs);'; \
+ ) > $@
+
+-$(obj)/extra-certs.c: $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR) \
+- $(wildcard $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR)/*.x509)
++$(obj)/extra-certs.c: $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR:"%"=%) \
++ $(wildcard $(CONFIG_CFG80211_EXTRA_REGDB_KEYDIR:"%"=%)/*.x509)
+ @$(kecho) " GEN $@"
+ $(Q)(set -e; \
+ allf=""; \