mirror of https://gitee.com/openkylin/linux.git
staging:vt6656:main_usb.c Aligned code to match open parenthesis
Fixed Alignment should match open parenthesis from checkpatch Signed-off-by: Scott Matheina <scott@matheina.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0ef4891335
commit
c6bf6d2d20
|
@ -156,16 +156,17 @@ static int vnt_init_registers(struct vnt_private *priv)
|
|||
init_cmd->long_retry_limit = priv->long_retry_limit;
|
||||
|
||||
/* issue card_init command to device */
|
||||
status = vnt_control_out(priv,
|
||||
MESSAGE_TYPE_CARDINIT, 0, 0,
|
||||
sizeof(struct vnt_cmd_card_init), (u8 *)init_cmd);
|
||||
status = vnt_control_out(priv, MESSAGE_TYPE_CARDINIT, 0, 0,
|
||||
sizeof(struct vnt_cmd_card_init),
|
||||
(u8 *)init_cmd);
|
||||
if (status != STATUS_SUCCESS) {
|
||||
dev_dbg(&priv->usb->dev, "Issue Card init fail\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
status = vnt_control_in(priv, MESSAGE_TYPE_INIT_RSP, 0, 0,
|
||||
sizeof(struct vnt_rsp_card_init), (u8 *)init_rsp);
|
||||
sizeof(struct vnt_rsp_card_init),
|
||||
(u8 *)init_rsp);
|
||||
if (status != STATUS_SUCCESS) {
|
||||
dev_dbg(&priv->usb->dev,
|
||||
"Cardinit request in status fail!\n");
|
||||
|
@ -173,9 +174,8 @@ static int vnt_init_registers(struct vnt_private *priv)
|
|||
}
|
||||
|
||||
/* local ID for AES functions */
|
||||
status = vnt_control_in(priv, MESSAGE_TYPE_READ,
|
||||
MAC_REG_LOCALID, MESSAGE_REQUEST_MACREG, 1,
|
||||
&priv->local_id);
|
||||
status = vnt_control_in(priv, MESSAGE_TYPE_READ, MAC_REG_LOCALID,
|
||||
MESSAGE_REQUEST_MACREG, 1, &priv->local_id);
|
||||
if (status != STATUS_SUCCESS)
|
||||
return false;
|
||||
|
||||
|
@ -340,7 +340,8 @@ static int vnt_init_registers(struct vnt_private *priv)
|
|||
|
||||
if ((priv->radio_ctl & EEP_RADIOCTL_ENABLE) != 0) {
|
||||
status = vnt_control_in(priv, MESSAGE_TYPE_READ,
|
||||
MAC_REG_GPIOCTL1, MESSAGE_REQUEST_MACREG, 1, &tmp);
|
||||
MAC_REG_GPIOCTL1,
|
||||
MESSAGE_REQUEST_MACREG, 1, &tmp);
|
||||
|
||||
if (status != STATUS_SUCCESS)
|
||||
return false;
|
||||
|
@ -496,7 +497,8 @@ static bool vnt_alloc_bufs(struct vnt_private *priv)
|
|||
}
|
||||
|
||||
static void vnt_tx_80211(struct ieee80211_hw *hw,
|
||||
struct ieee80211_tx_control *control, struct sk_buff *skb)
|
||||
struct ieee80211_tx_control *control,
|
||||
struct sk_buff *skb)
|
||||
{
|
||||
struct vnt_private *priv = hw->priv;
|
||||
|
||||
|
@ -682,8 +684,8 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed)
|
|||
}
|
||||
|
||||
static void vnt_bss_info_changed(struct ieee80211_hw *hw,
|
||||
struct ieee80211_vif *vif, struct ieee80211_bss_conf *conf,
|
||||
u32 changed)
|
||||
struct ieee80211_vif *vif,
|
||||
struct ieee80211_bss_conf *conf, u32 changed)
|
||||
{
|
||||
struct vnt_private *priv = hw->priv;
|
||||
|
||||
|
@ -787,7 +789,8 @@ static u64 vnt_prepare_multicast(struct ieee80211_hw *hw,
|
|||
}
|
||||
|
||||
static void vnt_configure(struct ieee80211_hw *hw,
|
||||
unsigned int changed_flags, unsigned int *total_flags, u64 multicast)
|
||||
unsigned int changed_flags,
|
||||
unsigned int *total_flags, u64 multicast)
|
||||
{
|
||||
struct vnt_private *priv = hw->priv;
|
||||
u8 rx_mode = 0;
|
||||
|
|
Loading…
Reference in New Issue