aboutsummaryrefslogtreecommitdiff
path: root/at76_usb.h
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-06-13 21:11:37 -0400
committerGuido Guenther <agx@sigxcpu.org>2007-06-14 10:11:09 +0200
commit4378f631f40b2f9186f2169119f052eae88ad565 (patch)
tree630aff12cc1c06e313796155c47525dd91178e5c /at76_usb.h
parentad182de778ef8573e22eb929a7974d24a2d176dd (diff)
[PATCH] Save results of usb_sndbulkpipe() and usb_rcvbulkpipe()
Calculate the pipe numbers on startup and keep them in at76_priv instead of keeping the endpoint numbers. Pipe numbers don't change. Signed-off-by: Pavel Roskin <proski@gnu.org>
Diffstat (limited to 'at76_usb.h')
-rw-r--r--at76_usb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/at76_usb.h b/at76_usb.h
index 2a292b5..aeabc4a 100644
--- a/at76_usb.h
+++ b/at76_usb.h
@@ -465,12 +465,12 @@ struct at76_priv {
struct iw_statistics wstats;
struct sk_buff *rx_skb; /* skbuff for receiving packets */
- __u8 bulk_in_endpointAddr; /* the address of the bulk in endpoint */
+ unsigned int rx_bulk_pipe; /* bulk in endpoint */
void *bulk_out_buffer; /* the buffer to send data */
struct urb *write_urb; /* the urb used to send data */
struct urb *read_urb;
- __u8 bulk_out_endpointAddr; /* the address of the bulk out endpoint */
+ unsigned int tx_bulk_pipe; /* bulk out endpoint */
int open_count; /* number of times this port has been opened */
struct mutex mtx; /* locks this structure */