staging: vt6656: struct vnt_private replace bShortSlotTime with short_slot_time
Removing type prefix and camel case Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
388e5cb8dd
commit
a641c9ec88
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user