Skip to content

Commit

Permalink
boeffla_wl_blocker: Increase blacklist max length
Browse files Browse the repository at this point in the history
The previous 255 limit seemed to be not enough to hold all the Samsung stock defined wakelocks that look safe to block

Signed-off-by: engstk <[email protected]>
  • Loading branch information
bamsbamx authored and engstk committed Dec 16, 2021
1 parent fcb0cec commit 31b039f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/power/boeffla_wl_blocker.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@

#define LIST_WL_DEFAULT ""

#define LENGTH_LIST_WL 255
#define LENGTH_LIST_WL 1024
#define LENGTH_LIST_WL_DEFAULT (strlen(LIST_WL_DEFAULT) + 1)
#define LENGTH_LIST_WL_SEARCH LENGTH_LIST_WL + LENGTH_LIST_WL_DEFAULT + 5

0 comments on commit 31b039f

Please sign in to comment.