Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/control.c b/control.c
- index 34493d572684..ed2157ff79d9 100644
- --- a/control.c
- +++ b/control.c
- @@ -334,9 +334,9 @@ int gb_control_bundle_activate(struct gb_control *control, u8 bundle_id)
- return 0;
- request.bundle_id = bundle_id;
- - ret = gb_operation_sync(control->connection,
- + ret = gb_operation_sync_timeout(control->connection,
- GB_CONTROL_TYPE_BUNDLE_ACTIVATE, &request,
- - sizeof(request), &response, sizeof(response));
- + sizeof(request), &response, sizeof(response), 20000);
- if (ret) {
- dev_err(&control->dev,
- "failed to send bundle %u activate: %d\n", bundle_id,
Advertisement
Add Comment
Please, Sign In to add comment