vireshk

Untitled

Aug 3rd, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. diff --git a/control.c b/control.c
  2. index 34493d572684..ed2157ff79d9 100644
  3. --- a/control.c
  4. +++ b/control.c
  5. @@ -334,9 +334,9 @@ int gb_control_bundle_activate(struct gb_control *control, u8 bundle_id)
  6. return 0;
  7.  
  8. request.bundle_id = bundle_id;
  9. - ret = gb_operation_sync(control->connection,
  10. + ret = gb_operation_sync_timeout(control->connection,
  11. GB_CONTROL_TYPE_BUNDLE_ACTIVATE, &request,
  12. - sizeof(request), &response, sizeof(response));
  13. + sizeof(request), &response, sizeof(response), 20000);
  14. if (ret) {
  15. dev_err(&control->dev,
  16. "failed to send bundle %u activate: %d\n", bundle_id,
Advertisement
Add Comment
Please, Sign In to add comment