mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Add a log for generic wake up reason
Add a log for generic wake up reason. Change-Id: I83c3d89d334e3688529ff908e072ca681d0ad579 CRs-Fixed: 2863479
This commit is contained in:
parent
28fc1640a8
commit
b604f18753
1 changed files with 7 additions and 0 deletions
|
|
@ -1479,6 +1479,8 @@ static const uint8_t *wma_wow_wake_reason_str(A_INT32 wake_reason)
|
|||
return "VDEV_DISCONNECT";
|
||||
case WOW_REASON_LOCAL_DATA_UC_DROP:
|
||||
return "LOCAL_DATA_UC_DROP";
|
||||
case WOW_REASON_GENERIC_WAKE:
|
||||
return "GENERIC_WAKE";
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
|
|
@ -2445,6 +2447,11 @@ static int wma_wake_event_no_payload(
|
|||
case WOW_REASON_NLOD:
|
||||
return wma_wake_reason_nlod(wma, wake_info->vdev_id);
|
||||
|
||||
case WOW_REASON_GENERIC_WAKE:
|
||||
wma_info("Wake reason %s",
|
||||
wma_wow_wake_reason_str(wake_info->wake_reason));
|
||||
return 0;
|
||||
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue