Commit 8b3f9afc authored by Frank A. Cancio Bello's avatar Frank A. Cancio Bello Committed by Greg Kroah-Hartman

staging: vt6655: Fix parameter alignment issues

Fix alignment to match open parenthesis and comply in that way with the
preferred coding style for the linux kernel. Issue found by checkpatch.
Suggested-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarFrank A. Cancio Bello <frank@generalsoftwareinc.com>
Link: https://lore.kernel.org/r/df2a5f511870bd96abb9b111de83f3a1f1d82d70.1572649242.git.frank@generalsoftwareinc.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 74179976
...@@ -45,7 +45,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type); ...@@ -45,7 +45,7 @@ void CARDvSetRSPINF(struct vnt_private *priv, u8 bb_type);
void CARDvUpdateBasicTopRate(struct vnt_private *priv); void CARDvUpdateBasicTopRate(struct vnt_private *priv);
bool CARDbIsOFDMinBasicRate(struct vnt_private *priv); bool CARDbIsOFDMinBasicRate(struct vnt_private *priv);
void CARDvSetLoopbackMode(struct vnt_private *priv, void CARDvSetLoopbackMode(struct vnt_private *priv,
unsigned short wLoopbackMode); unsigned short wLoopbackMode);
bool CARDbSoftwareReset(struct vnt_private *priv); bool CARDbSoftwareReset(struct vnt_private *priv);
void CARDvSetFirstNextTBTT(struct vnt_private *priv, void CARDvSetFirstNextTBTT(struct vnt_private *priv,
unsigned short wBeaconInterval); unsigned short wBeaconInterval);
......
...@@ -373,7 +373,7 @@ static void device_init_registers(struct vnt_private *priv) ...@@ -373,7 +373,7 @@ static void device_init_registers(struct vnt_private *priv)
priv->bRadioOff = false; priv->bRadioOff = false;
priv->byRadioCtl = SROMbyReadEmbedded(priv->PortOffset, priv->byRadioCtl = SROMbyReadEmbedded(priv->PortOffset,
EEP_OFS_RADIOCTL); EEP_OFS_RADIOCTL);
priv->bHWRadioOff = false; priv->bHWRadioOff = false;
if (priv->byRadioCtl & EEP_RADIOCTL_ENABLE) { if (priv->byRadioCtl & EEP_RADIOCTL_ENABLE) {
......
...@@ -1289,7 +1289,7 @@ int vnt_generate_fifo_header(struct vnt_private *priv, u32 dma_idx, ...@@ -1289,7 +1289,7 @@ int vnt_generate_fifo_header(struct vnt_private *priv, u32 dma_idx,
current_rate = rate->hw_value; current_rate = rate->hw_value;
if (priv->wCurrentRate != current_rate && if (priv->wCurrentRate != current_rate &&
!(priv->hw->conf.flags & IEEE80211_CONF_OFFCHANNEL)) { !(priv->hw->conf.flags & IEEE80211_CONF_OFFCHANNEL)) {
priv->wCurrentRate = current_rate; priv->wCurrentRate = current_rate;
RFbSetPower(priv, priv->wCurrentRate, RFbSetPower(priv, priv->wCurrentRate,
...@@ -1396,7 +1396,8 @@ int vnt_generate_fifo_header(struct vnt_private *priv, u32 dma_idx, ...@@ -1396,7 +1396,8 @@ int vnt_generate_fifo_header(struct vnt_private *priv, u32 dma_idx,
tx_key = info->control.hw_key; tx_key = info->control.hw_key;
if (tx_key->keylen > 0) if (tx_key->keylen > 0)
vnt_fill_txkey(hdr, tx_buffer_head->tx_key, vnt_fill_txkey(hdr, tx_buffer_head->tx_key,
tx_key, skb, tx_body_size, td_info->mic_hdr); tx_key, skb, tx_body_size,
td_info->mic_hdr);
} }
return 0; return 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