Commit 476e7d97 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: rename PIPEnsSendBulkOut to vnt_tx_context.

We are just tx the context
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 34f98e3f
...@@ -928,7 +928,7 @@ int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb) ...@@ -928,7 +928,7 @@ int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb)
spin_lock_irqsave(&priv->lock, flags); spin_lock_irqsave(&priv->lock, flags);
if (PIPEnsSendBulkOut(priv, tx_context) != STATUS_PENDING) { if (vnt_tx_context(priv, tx_context) != STATUS_PENDING) {
spin_unlock_irqrestore(&priv->lock, flags); spin_unlock_irqrestore(&priv->lock, flags);
return -EIO; return -EIO;
} }
...@@ -1022,7 +1022,7 @@ static int vnt_beacon_xmit(struct vnt_private *priv, ...@@ -1022,7 +1022,7 @@ static int vnt_beacon_xmit(struct vnt_private *priv,
spin_lock_irqsave(&priv->lock, flags); spin_lock_irqsave(&priv->lock, flags);
if (PIPEnsSendBulkOut(priv, context) != STATUS_PENDING) if (vnt_tx_context(priv, context) != STATUS_PENDING)
ieee80211_free_txskb(priv->hw, context->skb); ieee80211_free_txskb(priv->hw, context->skb);
spin_unlock_irqrestore(&priv->lock, flags); spin_unlock_irqrestore(&priv->lock, flags);
......
...@@ -337,7 +337,7 @@ static void s_nsBulkInUsbIoCompleteRead(struct urb *urb) ...@@ -337,7 +337,7 @@ static void s_nsBulkInUsbIoCompleteRead(struct urb *urb)
* *
*/ */
int PIPEnsSendBulkOut(struct vnt_private *priv, int vnt_tx_context(struct vnt_private *priv,
struct vnt_usb_send_context *context) struct vnt_usb_send_context *context)
{ {
int status; int status;
......
...@@ -40,7 +40,6 @@ void vnt_control_in_u8(struct vnt_private *, u8, u8, u8 *); ...@@ -40,7 +40,6 @@ void vnt_control_in_u8(struct vnt_private *, u8, u8, u8 *);
int vnt_start_interrupt_urb(struct vnt_private *); int vnt_start_interrupt_urb(struct vnt_private *);
int PIPEnsBulkInUsbRead(struct vnt_private *, struct vnt_rcb *pRCB); int PIPEnsBulkInUsbRead(struct vnt_private *, struct vnt_rcb *pRCB);
int PIPEnsSendBulkOut(struct vnt_private *, int vnt_tx_context(struct vnt_private *, struct vnt_usb_send_context *);
struct vnt_usb_send_context *pContext);
#endif /* __USBPIPE_H__ */ #endif /* __USBPIPE_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment