mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 00:54:09 +08:00
staging: vt6655: Type encoding info dropped from function name "CARDbyGetPktType"
function name "CARDbyGetPktType" 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/387aa7f3e3c21cab541442d772cec0048f3463ba.1698396278.git.opensource206@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
956ab42b8e
commit
1904b72154
@ -265,7 +265,7 @@ bool card_set_phy_parameter(struct vnt_private *priv, u8 bb_type)
|
||||
iowrite8(priv->cw_max_min, priv->port_offset + MAC_REG_CWMAXMIN0);
|
||||
}
|
||||
|
||||
priv->packet_type = CARDbyGetPktType(priv);
|
||||
priv->packet_type = card_get_pkt_type(priv);
|
||||
|
||||
CARDvSetRSPINF(priv, bb_type);
|
||||
|
||||
@ -684,7 +684,7 @@ bool CARDbIsOFDMinBasicRate(struct vnt_private *priv)
|
||||
return false;
|
||||
}
|
||||
|
||||
unsigned char CARDbyGetPktType(struct vnt_private *priv)
|
||||
unsigned char card_get_pkt_type(struct vnt_private *priv)
|
||||
{
|
||||
if (priv->byBBType == BB_TYPE_11A || priv->byBBType == BB_TYPE_11B)
|
||||
return (unsigned char)priv->byBBType;
|
||||
|
@ -49,7 +49,7 @@ void CARDvUpdateNextTBTT(struct vnt_private *priv, u64 qwTSF,
|
||||
u64 vt6655_get_current_tsf(struct vnt_private *priv);
|
||||
u64 CARDqGetNextTBTT(u64 qwTSF, unsigned short wBeaconInterval);
|
||||
u64 CARDqGetTSFOffset(unsigned char byRxRate, u64 qwTSF1, u64 qwTSF2);
|
||||
unsigned char CARDbyGetPktType(struct vnt_private *priv);
|
||||
unsigned char card_get_pkt_type(struct vnt_private *priv);
|
||||
void CARDvSafeResetTx(struct vnt_private *priv);
|
||||
void CARDvSafeResetRx(struct vnt_private *priv);
|
||||
void CARDbRadioPowerOff(struct vnt_private *priv);
|
||||
|
Loading…
Reference in New Issue
Block a user