mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
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)
MFC after: 3 days
This commit is contained in:
1 parent
26ee059392
commit
2f16c8d4fa
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user