mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
hyperv: Fix the missing return value in rndis_filter_set_packet_filter()
Return ETIMEDOUT when the reply message is not received in time. Signed-off-by: Haiyang Zhang <[email protected]> Reviewed-by: K. Y. Srinivasan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
fb1d074edb
commit
ea4963745f
1 changed files with 1 additions and 0 deletions
|
|
@ -647,6 +647,7 @@ int rndis_filter_set_packet_filter(struct rndis_device *dev, u32 new_filter)
|
|||
if (t == 0) {
|
||||
netdev_err(ndev,
|
||||
"timeout before we got a set response...\n");
|
||||
ret = -ETIMEDOUT;
|
||||
/*
|
||||
* We can't deallocate the request since we may still receive a
|
||||
* send completion for it.
|
||||
|
|
|
|||
Loading…
Reference in a new issue