summaryrefslogtreecommitdiff
path: root/shaping/src/shaper.cpp
diff options
context:
space:
mode:
authorroot <[email protected]>2024-01-05 07:40:56 +0000
committerroot <[email protected]>2024-01-05 07:40:56 +0000
commitf54e76984fe50d922c57ad8b8efcd6afc17a9577 (patch)
treedc90660629257da5831b94ba674882845425f2f3 /shaping/src/shaper.cpp
parentdb72c15d9c274a414d10b7c6d42efb68d18108ea (diff)
TSG-18417: set borrow flag to allow borrow when primary profile blocked by priority
Diffstat (limited to 'shaping/src/shaper.cpp')
-rw-r--r--shaping/src/shaper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/shaping/src/shaper.cpp b/shaping/src/shaper.cpp
index c7bf9ad..0977213 100644
--- a/shaping/src/shaper.cpp
+++ b/shaping/src/shaper.cpp
@@ -675,6 +675,7 @@ static int shaper_profile_is_priority_blocked(struct shaping_thread_ctx *ctx, st
END:
if (profile->hash_node->is_priority_blocked[priority] == 1) {
+ sf->flag |= SESSION_BORROW;
return 1;
} else {
return 0;