diff options
Diffstat (limited to 'drivers/usb/gadget/f_rndis.c')
| -rw-r--r-- | drivers/usb/gadget/f_rndis.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/gadget/f_rndis.c b/drivers/usb/gadget/f_rndis.c index 428b5993575..3a8bb53fc47 100644 --- a/drivers/usb/gadget/f_rndis.c +++ b/drivers/usb/gadget/f_rndis.c | |||
| @@ -651,6 +651,8 @@ rndis_bind(struct usb_configuration *c, struct usb_function *f) | |||
| 651 | fs_in_desc.bEndpointAddress; | 651 | fs_in_desc.bEndpointAddress; |
| 652 | hs_out_desc.bEndpointAddress = | 652 | hs_out_desc.bEndpointAddress = |
| 653 | fs_out_desc.bEndpointAddress; | 653 | fs_out_desc.bEndpointAddress; |
| 654 | hs_notify_desc.bEndpointAddress = | ||
| 655 | fs_notify_desc.bEndpointAddress; | ||
| 654 | 656 | ||
| 655 | /* copy descriptors, and track endpoint copies */ | 657 | /* copy descriptors, and track endpoint copies */ |
| 656 | f->hs_descriptors = usb_copy_descriptors(eth_hs_function); | 658 | f->hs_descriptors = usb_copy_descriptors(eth_hs_function); |
| @@ -662,6 +664,8 @@ rndis_bind(struct usb_configuration *c, struct usb_function *f) | |||
| 662 | f->hs_descriptors, &hs_in_desc); | 664 | f->hs_descriptors, &hs_in_desc); |
| 663 | rndis->hs.out = usb_find_endpoint(eth_hs_function, | 665 | rndis->hs.out = usb_find_endpoint(eth_hs_function, |
| 664 | f->hs_descriptors, &hs_out_desc); | 666 | f->hs_descriptors, &hs_out_desc); |
| 667 | rndis->hs.notify = usb_find_endpoint(eth_hs_function, | ||
| 668 | f->hs_descriptors, &hs_notify_desc); | ||
| 665 | } | 669 | } |
| 666 | 670 | ||
| 667 | rndis->port.open = rndis_open; | 671 | rndis->port.open = rndis_open; |
