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

staging: vt6656: struct vnt_private replace bShortSlotTime with short_slot_time

Removing type prefix and camel case
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 388e5cb8
......@@ -526,7 +526,7 @@ void vnt_set_short_slot_time(struct vnt_private *priv)
{
u8 bb_vga = 0;
if (priv->bShortSlotTime)
if (priv->short_slot_time)
priv->bb_rx_conf &= 0xdf;
else
priv->bb_rx_conf |= 0x20;
......@@ -545,7 +545,7 @@ void vnt_set_vga_gain_offset(struct vnt_private *priv, u8 data)
vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0xE7, data);
/* patch for 3253B0 Baseband with Cardbus module */
if (priv->bShortSlotTime)
if (priv->short_slot_time)
priv->bb_rx_conf &= 0xdf; /* 1101 1111 */
else
priv->bb_rx_conf |= 0x20; /* 0010 0000 */
......
......@@ -381,7 +381,7 @@ void vnt_update_ifs(struct vnt_private *priv)
priv->sifs = C_SIFS_BG;
if (priv->bShortSlotTime)
if (priv->short_slot_time)
priv->slot = C_SLOT_SHORT;
else
priv->slot = C_SLOT_LONG;
......
......@@ -358,7 +358,7 @@ struct vnt_private {
enum nl80211_iftype op_mode;
int bShortSlotTime;
int short_slot_time;
int bBarkerPreambleMd;
/* Power save */
......
......@@ -342,9 +342,9 @@ static int device_init_registers(struct vnt_private *priv)
* set Short Slot Time, xIFS, and RSPINF
*/
if (priv->bb_type == BB_TYPE_11A)
priv->bShortSlotTime = true;
priv->short_slot_time = true;
else
priv->bShortSlotTime = false;
priv->short_slot_time = false;
vnt_set_short_slot_time(priv);
......@@ -768,9 +768,9 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
if (changed & BSS_CHANGED_ERP_SLOT) {
if (conf->use_short_slot)
priv->bShortSlotTime = true;
priv->short_slot_time = true;
else
priv->bShortSlotTime = false;
priv->short_slot_time = false;
vnt_set_short_slot_time(priv);
vnt_set_vga_gain_offset(priv, priv->abyBBVGA[0]);
......
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