staging: vt6656: vnt_get_duration_le fix typo piv to priv
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 20 Jul 2014 14:33:30 +0000 (15:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:16:29 +0000 (12:16 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c

index 0febd03d38daa6e60d6362ed47189e514924bfd5..5d2072fa3afe62a14c3524886d25a14c8ee2c9f7 100644 (file)
@@ -180,20 +180,20 @@ static __le16 vnt_get_rtscts_rsvtime_le(struct vnt_private *priv,
        return cpu_to_le16((u16)rrv_time);
 }
 
-static __le16 vnt_get_duration_le(struct vnt_private *piv,
+static __le16 vnt_get_duration_le(struct vnt_private *priv,
                                        u8 pkt_type, int need_ack)
 {
        u32 ack_time = 0;
 
        if (need_ack) {
                if (pkt_type == PK_TYPE_11B)
-                       ack_time = vnt_get_frame_time(piv->preamble_type,
-                               pkt_type, 14, piv->top_cck_basic_rate);
+                       ack_time = vnt_get_frame_time(priv->preamble_type,
+                               pkt_type, 14, priv->top_cck_basic_rate);
                else
-                       ack_time = vnt_get_frame_time(piv->preamble_type,
-                               pkt_type, 14, piv->top_ofdm_basic_rate);
+                       ack_time = vnt_get_frame_time(priv->preamble_type,
+                               pkt_type, 14, priv->top_ofdm_basic_rate);
 
-               return cpu_to_le16((u16)(piv->sifs + ack_time));
+               return cpu_to_le16((u16)(priv->sifs + ack_time));
        }
 
        return 0;