public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@saftware.de>
To: ecos-patches@sources.redhat.com
Cc: Andreas Oberritter <obi@saftware.de>
Subject: [PATCH 1/3] usbs_at91: call vendor_control_fn on USB_DEVREQ_TYPE_VENDOR
Date: Sun, 21 Feb 2010 17:10:00 -0000	[thread overview]
Message-ID: <1266772191-28315-2-git-send-email-obi@saftware.de> (raw)
In-Reply-To: <1266772191-28315-1-git-send-email-obi@saftware.de>

---
 packages/devs/usb/at91/v3_0/src/usbs_at91.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/devs/usb/at91/v3_0/src/usbs_at91.c b/packages/devs/usb/at91/v3_0/src/usbs_at91.c
index 23d3e1e..063d841 100644
--- a/packages/devs/usb/at91/v3_0/src/usbs_at91.c
+++ b/packages/devs/usb/at91/v3_0/src/usbs_at91.c
@@ -559,10 +559,10 @@ usbs_parse_host_get_command (usbs_control_endpoint * pcep)
       return (*pcep->class_control_fn) (pcep, pcep->class_control_data);
 
     case USB_DEVREQ_TYPE_VENDOR: 
-      if (!pcep->class_control_fn) {
+      if (!pcep->vendor_control_fn) {
         return USBS_CONTROL_RETURN_STALL;
       }
-      return (*pcep->class_control_fn) (pcep, pcep->vendor_control_data);
+      return (*pcep->vendor_control_fn) (pcep, pcep->vendor_control_data);
 
     case USB_DEVREQ_TYPE_RESERVED:
       if (!pcep->reserved_control_fn) {
-- 
1.6.3.3

  reply	other threads:[~2010-02-21 17:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-21 17:10 [PATCH 0/3] misc fixes for eCos 3.0 Andreas Oberritter
2010-02-21 17:10 ` Andreas Oberritter [this message]
2010-02-21 17:10   ` [PATCH 2/3] usbseth: compile fix: move misplaced #endif Andreas Oberritter
2010-02-21 17:10     ` [PATCH 3/3] tcpip: compile fix: remove unneeded cast to long in TCPT_RANGESET Andreas Oberritter
2010-02-22 11:54 ` [PATCH 0/3] misc fixes for eCos 3.0 Gary Thomas
2010-02-22 12:51   ` Andreas Oberritter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1266772191-28315-2-git-send-email-obi@saftware.de \
    --to=obi@saftware.de \
    --cc=ecos-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).