From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Kazior Date: Thu, 6 Jun 2013 15:18:11 +0200 Subject: [ath9k-devel] [PATCH 05/10] ath10k: decouple suspend code In-Reply-To: <20912.30482.772053.259204@gargle.gargle.HOWL> References: <1370514361-15858-1-git-send-email-michal.kazior@tieto.com> <1370514361-15858-6-git-send-email-michal.kazior@tieto.com> <20912.30482.772053.259204@gargle.gargle.HOWL> Message-ID: <51B08C13.5020906@tieto.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 06/06/13 13:48, Sujith Manoharan wrote: > Michal Kazior wrote: >> Split up fw-related and hw-related suspension code. >> >> Although we don't advertise WoW support to >> mac80211 yet it's useful to keep the code in >> suspend/resume hooks. >> >> At this point there's no need to keep pci pm ops. >> In case of WoW mac80211 calls ath10k_suspend() >> which should take care of entering low-power mode. >> In case WoW is not available mac80211 will go >> through regular interface teradown and use start/stop. > > The usage "#if CONFIG_PM" seems a bit weird - "#ifdef" ? Yes, it should be an #ifdef. Good catch, thanks! -- Pozdrawiam / Best regards, Michal Kazior.