Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[~shefty/rdma-dev.git] / drivers / net / wireless / ath / ath9k / htc_drv_init.c
index 93f3f615218be9d866afdb4f8b7c7bbeac863258..0f6be350fd3cce6db5f9dbffd4c994f6780ff9ca 100644 (file)
@@ -882,6 +882,12 @@ void ath9k_htc_disconnect_device(struct htc_target *htc_handle, bool hotunplug)
 }
 
 #ifdef CONFIG_PM
 }
 
 #ifdef CONFIG_PM
+
+void ath9k_htc_suspend(struct htc_target *htc_handle)
+{
+       ath9k_htc_setpower(htc_handle->drv_priv, ATH9K_PM_FULL_SLEEP);
+}
+
 int ath9k_htc_resume(struct htc_target *htc_handle)
 {
        struct ath9k_htc_priv *priv = htc_handle->drv_priv;
 int ath9k_htc_resume(struct htc_target *htc_handle)
 {
        struct ath9k_htc_priv *priv = htc_handle->drv_priv;