staging: vt6656: replace bExistSWNetAddr with exist_sw_net_addr
Always needed as u8 type. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
41e8321a6d
commit
35cc8f94e6
|
@ -309,7 +309,7 @@ struct vnt_private {
|
|||
u8 current_net_addr[ETH_ALEN];
|
||||
u8 permanent_net_addr[ETH_ALEN];
|
||||
|
||||
int bExistSWNetAddr;
|
||||
u8 exist_sw_net_addr;
|
||||
|
||||
u64 qwCurrTSF;
|
||||
|
||||
|
|
|
@ -125,7 +125,7 @@ static void device_set_options(struct vnt_private *priv)
|
|||
priv->byPacketType = priv->byBBType;
|
||||
priv->byAutoFBCtrl = AUTO_FB_0;
|
||||
priv->byPreambleType = 0;
|
||||
priv->bExistSWNetAddr = false;
|
||||
priv->exist_sw_net_addr = false;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -163,7 +163,7 @@ static int device_init_registers(struct vnt_private *priv)
|
|||
}
|
||||
|
||||
init_cmd->init_class = DEVICE_INIT_COLD;
|
||||
init_cmd->exist_sw_net_addr = (u8) priv->bExistSWNetAddr;
|
||||
init_cmd->exist_sw_net_addr = priv->exist_sw_net_addr;
|
||||
for (ii = 0; ii < 6; ii++)
|
||||
init_cmd->sw_net_addr[ii] = priv->current_net_addr[ii];
|
||||
init_cmd->short_retry_limit = priv->byShortRetryLimit;
|
||||
|
|
Loading…
Reference in New Issue