From 388e5cb8ddcf48a3831b5b3ed52e1080aa160357 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sun, 20 Jul 2014 15:33:20 +0100 Subject: [PATCH] staging: vt6656: struct vnt_private remove camel case retry limit camel case changes byShortRetryLimit -> short_retry_limit byLongRetryLimit -> long_retry_limit Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/device.h | 4 ++-- drivers/staging/vt6656/main_usb.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 9e095ebb44f0..fd230b3c8c78 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -353,8 +353,8 @@ struct vnt_private { u16 tx_rate_fb0; u16 tx_rate_fb1; - u8 byShortRetryLimit; - u8 byLongRetryLimit; + u8 short_retry_limit; + u8 long_retry_limit; enum nl80211_iftype op_mode; diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 5939f9a3da57..e8ce52dbaa8d 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -118,8 +118,8 @@ static void device_set_options(struct vnt_private *priv) else priv->num_rcb = vnt_rx_buffers; - priv->byShortRetryLimit = SHORT_RETRY_DEF; - priv->byLongRetryLimit = LONG_RETRY_DEF; + priv->short_retry_limit = SHORT_RETRY_DEF; + priv->long_retry_limit = LONG_RETRY_DEF; priv->op_mode = NL80211_IFTYPE_UNSPECIFIED; priv->bb_type = BBP_TYPE_DEF; priv->packet_type = priv->bb_type; @@ -166,8 +166,8 @@ static int device_init_registers(struct vnt_private *priv) 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; - init_cmd->long_retry_limit = priv->byLongRetryLimit; + init_cmd->short_retry_limit = priv->short_retry_limit; + init_cmd->long_retry_limit = priv->long_retry_limit; /* issue card_init command to device */ status = vnt_control_out(priv, -- 2.39.5