staging: vt6656: rename PIPEnsSendBulkOut to vnt_tx_context.
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 15 Jul 2014 18:54:39 +0000 (19:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 19:11:39 +0000 (12:11 -0700)
We are just tx the context

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c
drivers/staging/vt6656/usbpipe.c
drivers/staging/vt6656/usbpipe.h

index 1f1ec049ace3408a4f668bda189b4fc65fbc2c65..76b7f173f4fa8a8cdd8be39f1060c1ffe8a299e6 100644 (file)
@@ -928,7 +928,7 @@ int vnt_tx_packet(struct vnt_private *priv, struct sk_buff *skb)
 
        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);
                return -EIO;
        }
@@ -1022,7 +1022,7 @@ static int vnt_beacon_xmit(struct vnt_private *priv,
 
        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);
 
        spin_unlock_irqrestore(&priv->lock, flags);
index e7239d6a616ad47a9a950015d9977f2696ba7386..db1bc1aaf56798381c3fa1c0e25b02ef4b0a6f36 100644 (file)
@@ -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)
 {
        int status;
index 94694fe8935682c291fb0bbbeaf7f084733ea991..49c284fde907e1086e528bece08225793d7b074a 100644 (file)
@@ -40,7 +40,6 @@ void vnt_control_in_u8(struct vnt_private *, u8, u8, u8 *);
 
 int vnt_start_interrupt_urb(struct vnt_private *);
 int PIPEnsBulkInUsbRead(struct vnt_private *, struct vnt_rcb *pRCB);
-int PIPEnsSendBulkOut(struct vnt_private *,
-                               struct vnt_usb_send_context *pContext);
+int vnt_tx_context(struct vnt_private *, struct vnt_usb_send_context *);
 
 #endif /* __USBPIPE_H__ */