Skip to content

Commit 956ab42

Browse files
opensource206gregkh
authored andcommitted
staging: vt6655: Type encoding info dropped from variable name "byPacketType"
variable name "byPacketType" updated like below: a.type encoding info dropped from name b.camelcase name replaced by snakecase Issue found by checkpatch Signed-off-by: Pavan Bobba <opensource206@gmail.com> Link: https://lore.kernel.org/r/308813545f9364da18dfc3cdb051ed59eca18f7f.1698396278.git.opensource206@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4922f5d commit 956ab42

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/staging/vt6655/card.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type)
265265
iowrite8(priv->cw_max_min, priv->port_offset + MAC_REG_CWMAXMIN0);
266266
}
267267

268-
priv->byPacketType = CARDbyGetPktType(priv);
268+
priv->packet_type = CARDbyGetPktType(priv);
269269

270270
CARDvSetRSPINF(priv, bb_type);
271271

drivers/staging/vt6655/device.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ struct vnt_private {
188188
unsigned char cw_max_min;
189189

190190
u8 byBBType; /* 0:11A, 1:11B, 2:11G */
191-
u8 byPacketType; /*
191+
u8 packet_type; /*
192192
* 0:11a,1:11b,2:11gb (only CCK
193193
* in BasicRate), 3:11ga (OFDM in
194194
* Basic Rate)

drivers/staging/vt6655/device_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ device_set_options(struct vnt_private *priv)
177177
priv->byShortRetryLimit = priv->opts.short_retry;
178178
priv->byLongRetryLimit = priv->opts.long_retry;
179179
priv->byBBType = priv->opts.bbp_type;
180-
priv->byPacketType = priv->byBBType;
180+
priv->packet_type = priv->byBBType;
181181
priv->byAutoFBCtrl = AUTO_FB_0;
182182
priv->update_bbvga = true;
183183
priv->preamble_type = 0;

0 commit comments

Comments
 (0)