Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58153
b: refs/heads/master
c: afaee82
h: refs/heads/master
i:
  58151: fc8be2d
v: v3
  • Loading branch information
David Brownell authored and Jeff Garzik committed Jul 2, 2007
1 parent 810cef8 commit dfa10e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 2d1a3bbdf21d05e16703c8d608628ae4676eb3ac
refs/heads/master: afaee82c0aef7c2b30acff129c723031343e10c2
8 changes: 4 additions & 4 deletions trunk/drivers/net/usb/cdc_ether.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,14 @@ int usbnet_generic_cdc_bind(struct usbnet *dev, struct usb_interface *intf)
* modem interface from an RNDIS non-modem.
*/
if (rndis) {
struct usb_cdc_acm_descriptor *d;
struct usb_cdc_acm_descriptor *acm;

d = (void *) buf;
if (d->bmCapabilities) {
acm = (void *) buf;
if (acm->bmCapabilities) {
dev_dbg(&intf->dev,
"ACM capabilities %02x, "
"not really RNDIS?\n",
d->bmCapabilities);
acm->bmCapabilities);
goto bad_desc;
}
}
Expand Down

0 comments on commit dfa10e9

Please sign in to comment.