Lines 1722-1732
Link Here
|
1722 |
wpi_calib_timeout(void *arg) |
1722 |
wpi_calib_timeout(void *arg) |
1723 |
{ |
1723 |
{ |
1724 |
struct wpi_softc *sc = arg; |
1724 |
struct wpi_softc *sc = arg; |
1725 |
struct ifnet *ifp = sc->sc_ifp; |
|
|
1726 |
struct ieee80211com *ic = ifp->if_l2com; |
1727 |
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); |
1728 |
|
1725 |
|
1729 |
if (vap->iv_state != IEEE80211_S_RUN) |
1726 |
if (!(sc->rxon.filter & htole32(WPI_FILTER_BSS))) |
1730 |
return; |
1727 |
return; |
1731 |
|
1728 |
|
1732 |
wpi_power_calibration(sc); |
1729 |
wpi_power_calibration(sc); |