qcacmn: Fail PM suspend if target has sent initial wake up

Host is not handling target initial wake up properly which is
leading to resume failure. Fail PM suspend request if target
has sent initial wake up message.

Change-Id: I3797f1afa99ed9412b7ded3e1ea85c344bd0f435
CRs-Fixed: 1059543
此提交包含在:
Rajeev Kumar
2016-08-25 14:55:14 -07:00
提交者 qcabuildsw
父節點 712e243e91
當前提交 f5e306f785
共有 2 個檔案被更改,包括 8 行新增2 行删除

查看文件

@@ -57,6 +57,7 @@ typedef struct _HTC_INIT_INFO {
void *pContext; /* context for target notifications */
void (*TargetFailure)(void *Instance, QDF_STATUS Status);
void (*TargetSendSuspendComplete)(void *ctx, bool is_nack);
void (*target_initial_wakeup_cb)(void);
} HTC_INIT_INFO;
/* Struct for HTC layer packet stats*/