Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3704
b: refs/heads/master
c: 486e2df
h: refs/heads/master
v: v3
  • Loading branch information
David Brownell authored and Greg Kroah-Hartman committed Jun 27, 2005
1 parent d523e59 commit 9195d03
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: 45e45ab45c266642276d01e56d9fb5dccbfad960
refs/heads/master: 486e2df6ce213d0c776befdf3fe5ffc61dd61688
8 changes: 7 additions & 1 deletion trunk/drivers/usb/gadget/rndis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,11 +1025,17 @@ int rndis_signal_disconnect (int configNr)

void rndis_uninit (int configNr)
{
u8 *buf;
u32 length;

if (configNr >= RNDIS_MAX_CONFIGS)
return;
rndis_per_dev_params [configNr].used = 0;
rndis_per_dev_params [configNr].state = RNDIS_UNINITIALIZED;
return;

/* drain the response queue */
while ((buf = rndis_get_next_response(configNr, &length)))
rndis_free_response(configNr, buf);
}

void rndis_set_host_mac (int configNr, const u8 *addr)
Expand Down

0 comments on commit 9195d03

Please sign in to comment.