diff options
| author | Warner Losh <imp@FreeBSD.org> | 2022-04-05 19:07:20 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2022-04-05 19:52:54 +0000 |
| commit | 6e5056a903ccad5c5e9da543f77f9e0fe55489fb (patch) | |
| tree | ce621e86a60c1b80d5c41706e481629fa515687b /sys/dev/bwi | |
| parent | cbf7b9e6eeb696c2c158b788a0f364dcb1082422 (diff) | |
Diffstat (limited to 'sys/dev/bwi')
| -rw-r--r-- | sys/dev/bwi/bwirf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bwi/bwirf.c b/sys/dev/bwi/bwirf.c index 1345c64d126a..e3a3d1b88e5f 100644 --- a/sys/dev/bwi/bwirf.c +++ b/sys/dev/bwi/bwirf.c @@ -1649,7 +1649,7 @@ bwi_rf_calc_nrssi_slope_11b(struct bwi_mac *mac) struct bwi_phy *phy = &mac->mac_phy; uint16_t save_rf[SAVE_RF_MAX]; uint16_t save_phy[SAVE_PHY_MAX]; - uint16_t ant_div, bbp_atten, chan_ex; + uint16_t ant_div, chan_ex; int16_t nrssi[2]; int i; @@ -1662,7 +1662,7 @@ bwi_rf_calc_nrssi_slope_11b(struct bwi_mac *mac) save_phy[i] = PHY_READ(mac, save_phy_regs[i]); ant_div = CSR_READ_2(sc, BWI_RF_ANTDIV); - bbp_atten = CSR_READ_2(sc, BWI_BBP_ATTEN); + CSR_READ_2(sc, BWI_BBP_ATTEN); chan_ex = CSR_READ_2(sc, BWI_RF_CHAN_EX); /* |
