mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacmn: Add new reason code for idles restart wakelock
Idle restart needs to prevent system suspend and hence, add new reason code for idle restart. Change-Id: I15f7be551f00bd910a61080c087a8f85dd2fe7da CRs-Fixed: 2490992
This commit is contained in:
parent
bdcce7fcb1
commit
166fc8d73d
1 changed files with 2 additions and 0 deletions
|
|
@ -895,6 +895,7 @@ enum wifi_connectivity_events {
|
|||
* @WIFI_POWER_EVENT_WAKELOCK_CONNECT: connection in progress
|
||||
* @WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER: iface change timer running
|
||||
* @WIFI_POWER_EVENT_WAKELOCK_MONITOR_MODE: Montitor mode wakelock
|
||||
* @WIFI_POWER_EVENT_WAKELOCK_DRIVER_IDLE_RESTART: Wakelock for Idle Restart
|
||||
*
|
||||
* Indicates the reason for which the wakelock was taken/released
|
||||
*/
|
||||
|
|
@ -921,6 +922,7 @@ enum wake_lock_reason {
|
|||
WIFI_POWER_EVENT_WAKELOCK_CONNECT,
|
||||
WIFI_POWER_EVENT_WAKELOCK_IFACE_CHANGE_TIMER,
|
||||
WIFI_POWER_EVENT_WAKELOCK_MONITOR_MODE,
|
||||
WIFI_POWER_EVENT_WAKELOCK_DRIVER_IDLE_RESTART,
|
||||
};
|
||||
|
||||
/* The length of interface name should >= IFNAMSIZ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue