Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267963
b: refs/heads/master
c: 62c0743
h: refs/heads/master
i:
  267961: bf50916
  267959: bd10a65
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Aug 25, 2011
1 parent c283dd9 commit cbcf0be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ace163a85a9a98e7f91db3a23db3f63689038f1e
refs/heads/master: 62c0743ef00cb0ad0b32b05fb96acd4d8e7391dd
4 changes: 2 additions & 2 deletions trunk/drivers/staging/hv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,14 +358,14 @@ int rndis_filter_receive(struct hv_device *dev,
if (!net_dev->extension) {
dev_err(&dev->device, "got rndis message but no rndis device - "
"dropping this message!\n");
return -1;
return -ENODEV;
}

rndis_dev = (struct rndis_device *)net_dev->extension;
if (rndis_dev->state == RNDIS_DEV_UNINITIALIZED) {
dev_err(&dev->device, "got rndis message but rndis device "
"uninitialized...dropping this message!\n");
return -1;
return -ENODEV;
}

rndis_hdr = (struct rndis_message *)kmap_atomic(
Expand Down

0 comments on commit cbcf0be

Please sign in to comment.