Wake up the hardware before calling ath_mode_init() in the ioctl() path.
Tested: * AR5416, STA + powersave
This commit is contained in:
parent
9d12ca17b5
commit
4b734a1c84
@ -6504,7 +6504,9 @@ ath_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
|
||||
* only reflect promisc mode settings.
|
||||
*/
|
||||
ATH_LOCK(sc);
|
||||
ath_power_set_power_state(sc, HAL_PM_AWAKE);
|
||||
ath_mode_init(sc);
|
||||
ath_power_restore_power_state(sc);
|
||||
ATH_UNLOCK(sc);
|
||||
} else if (ifp->if_flags & IFF_UP) {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user