diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-07-19 12:30:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-21 12:11:57 -0700 |
commit | 35cc8f94e6e4841c6dd2e8d8fd8d49ebddd56859 (patch) | |
tree | d61a55b7fa3b2548b6c11e308d01d3d2936d5814 /drivers/staging | |
parent | 41e8321a6d3b775a05e94fecd4ea5b4711e12729 (diff) | |
download | linux-35cc8f94e6e4841c6dd2e8d8fd8d49ebddd56859.tar.bz2 |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/vt6656/device.h | 2 | ||||
-rw-r--r-- | drivers/staging/vt6656/main_usb.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 0c18e26a38e6..9f1216df6dad 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -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; diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 0bf207cac050..9aaa81631f80 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -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; |