HomeFreeBSD

Shuffle ah_powerMode to be in a sane spot for the given power operation.

Description

Shuffle ah_powerMode to be in a sane spot for the given power operation.

This way the state changes from sleep->awake before the registers are poked
and from awake->sleep after the registers are poked.

This way spurious warnings aren't printed by my (to be committed)
debugging code.

Tested:

  • AR5416, STA

Details

Provenance
adrianAuthored on
Parents
rS263416: Don't call ath_init() inside the lock.
Branches
Unknown
Tags
Unknown

Event Timeline