|
@@ -452,7 +452,7 @@ static int rndis_filter_query_device(struct rndis_device *dev, u32 oid,
|
|
|
if (ret != 0)
|
|
|
goto Cleanup;
|
|
|
|
|
|
- t = wait_for_completion_timeout(&request->wait_event, HZ);
|
|
|
+ t = wait_for_completion_timeout(&request->wait_event, 5*HZ);
|
|
|
if (t == 0) {
|
|
|
ret = -ETIMEDOUT;
|
|
|
goto Cleanup;
|
|
@@ -528,7 +528,7 @@ static int rndis_filter_set_packet_filter(struct rndis_device *dev,
|
|
|
if (ret != 0)
|
|
|
goto Cleanup;
|
|
|
|
|
|
- t = wait_for_completion_timeout(&request->wait_event, HZ);
|
|
|
+ t = wait_for_completion_timeout(&request->wait_event, 5*HZ);
|
|
|
|
|
|
if (t == 0) {
|
|
|
ret = -1;
|
|
@@ -585,7 +585,7 @@ static int rndis_filter_init_device(struct rndis_device *dev)
|
|
|
}
|
|
|
|
|
|
|
|
|
- t = wait_for_completion_timeout(&request->wait_event, HZ);
|
|
|
+ t = wait_for_completion_timeout(&request->wait_event, 5*HZ);
|
|
|
|
|
|
if (t == 0) {
|
|
|
ret = -ETIMEDOUT;
|