Lines 1672-1678
Link Here
|
1672 |
ieee80211_state_name[vap->iv_state], |
1672 |
ieee80211_state_name[vap->iv_state], |
1673 |
ieee80211_state_name[nstate]); |
1673 |
ieee80211_state_name[nstate]); |
1674 |
|
1674 |
|
1675 |
if (vap->iv_state == IEEE80211_S_RUN && nstate != IEEE80211_S_RUN) { |
1675 |
if (vap->iv_state == IEEE80211_S_RUN && nstate < IEEE80211_S_RUN) { |
1676 |
if ((error = wpi_set_pslevel(sc, 0, 0, 1)) != 0) { |
1676 |
if ((error = wpi_set_pslevel(sc, 0, 0, 1)) != 0) { |
1677 |
device_printf(sc->sc_dev, |
1677 |
device_printf(sc->sc_dev, |
1678 |
"%s: could not set power saving level\n", |
1678 |
"%s: could not set power saving level\n", |
Lines 1679-1684
Link Here
|
1679 |
__func__); |
1679 |
__func__); |
1680 |
return error; |
1680 |
return error; |
1681 |
} |
1681 |
} |
|
|
1682 |
|
1683 |
wpi_set_led(sc, WPI_LED_LINK, 1, 0); |
1682 |
} |
1684 |
} |
1683 |
|
1685 |
|
1684 |
switch (nstate) { |
1686 |
switch (nstate) { |