Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318925
b: refs/heads/master
c: 5243e7b
h: refs/heads/master
i:
  318923: a89ff13
v: v3
  • Loading branch information
Haiyang Zhang authored and David S. Miller committed Jul 25, 2012
1 parent 31d18f4 commit 9fbbfb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 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: fa85a6c29a493e8a574bf62a6349b38b591bf885
refs/heads/master: 5243e7bd98b2dfecef3acd82661b541905a86e7f
11 changes: 4 additions & 7 deletions trunk/drivers/net/hyperv/rndis_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -804,18 +804,15 @@ int rndis_filter_device_add(struct hv_device *dev,
/* Send the rndis initialization message */
ret = rndis_filter_init_device(rndis_device);
if (ret != 0) {
/*
* TODO: If rndis init failed, we will need to shut down the
* channel
*/
rndis_filter_device_remove(dev);
return ret;
}

/* Get the mac address */
ret = rndis_filter_query_device_mac(rndis_device);
if (ret != 0) {
/*
* TODO: shutdown rndis device and the channel
*/
rndis_filter_device_remove(dev);
return ret;
}

memcpy(device_info->mac_adr, rndis_device->hw_mac_adr, ETH_ALEN);
Expand Down

0 comments on commit 9fbbfb7

Please sign in to comment.