diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-07-20 15:33:30 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-21 12:16:29 -0700 |
commit | 0871dc692655b4781b36918f52617149f45d6ffc (patch) | |
tree | 4f133cc1d3f6c0a564a6fde58afb5d978728a108 | |
parent | bab97c05510fbaa28655bd5592dc0b559e677c1c (diff) | |
download | op-kernel-dev-0871dc692655b4781b36918f52617149f45d6ffc.zip op-kernel-dev-0871dc692655b4781b36918f52617149f45d6ffc.tar.gz |
staging: vt6656: vnt_get_duration_le fix typo piv to priv
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6656/rxtx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index 0febd03..5d2072f 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -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; |