Date: Sun, 13 Jul 2025 19:31:05 GMT From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 48c4eac328ea - stable/14 - bwn(4): BWN_GPL_PHY: make compile again Message-ID: <202507131931.56DJV5sq069577@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=48c4eac328eaffe4eed0461d75e6c2bb463b3efc commit 48c4eac328eaffe4eed0461d75e6c2bb463b3efc Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2025-06-22 00:15:38 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2025-07-13 19:25:02 +0000 bwn(4): BWN_GPL_PHY: make compile again compiler complains about error: comparison of different enumeration types ('bwn_phy_band_t' and 'bwn_band_t'); so use the correct enum value. Sponsored by: The FreeBSD Foundation PR: 287695 Reported by: (tom.mcclean gmail.com) (cherry picked from commit 2f16c8d4fa0f5788d52d74fa875c386c475249ec) --- sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_ppr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_ppr.c b/sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_ppr.c index edba922ffb58..ec1f0f69f615 100644 --- a/sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_ppr.c +++ b/sys/gnu/dev/bwn/phy_n/if_bwn_phy_n_ppr.c @@ -247,7 +247,7 @@ bool bwn_ppr_load_max_from_sprom(struct bwn_mac *mac, struct bwn_ppr *ppr, } } - if (band == BWN_BAND_2G) { + if (band == BWN_PHY_BAND_2G) { uint16_t ck2gpo; error = bhnd_nvram_getvar_uint16(sc->sc_dev, BHND_NVAR_CCK2GPO,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507131931.56DJV5sq069577>