mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04: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:
parent
26ee059392
commit
2f16c8d4fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue