From bbd4b4346cd92de20478de79a41c69efc0161d9a Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Mon, 10 Mar 2014 06:05:26 +0000 Subject: [PATCH] Also tag the current HAL power mode in ar9300_set_power_mode(). --- sys/contrib/dev/ath/ath_hal/ar9300/ar9300_power.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_power.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_power.c index 44bebe4a250..7f4992cf280 100644 --- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_power.c +++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_power.c @@ -713,6 +713,7 @@ ar9300_set_power_mode(struct ath_hal *ah, HAL_POWER_MODE mode, int set_chip) "%s: unknown power mode %u\n", __func__, mode); return AH_FALSE; } + ah->ah_powerMode = status; return status; }