Commit e809c96e authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: rename CARDbyGetPktType to vnt_get_pkt_type



drop card rename to vnt_get_pkt_type

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cfa4d8d2
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -526,7 +526,7 @@ int vnt_ofdm_min_rate(struct vnt_private *priv)
	return false;
	return false;
}
}


u8 CARDbyGetPktType(struct vnt_private *priv)
u8 vnt_get_pkt_type(struct vnt_private *priv)
{
{


	if (priv->byBBType == BB_TYPE_11A || priv->byBBType == BB_TYPE_11B)
	if (priv->byBBType == BB_TYPE_11A || priv->byBBType == BB_TYPE_11B)
@@ -836,7 +836,7 @@ void CARDvSetBSSMode(struct vnt_private *priv)
	else
	else
		MACvSetBBType(priv, priv->byBBType);
		MACvSetBBType(priv, priv->byBBType);


	priv->byPacketType = CARDbyGetPktType(priv);
	priv->byPacketType = vnt_get_pkt_type(priv);


	if (priv->byBBType == BB_TYPE_11A)
	if (priv->byBBType == BB_TYPE_11A)
		vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x88, 0x03);
		vnt_control_out_u8(priv, MESSAGE_REQUEST_BBREG, 0x88, 0x03);
+1 −1
Original line number Original line Diff line number Diff line
@@ -62,7 +62,7 @@ u64 CARDqGetNextTBTT(u64 qwTSF, u16 wBeaconInterval);
u64 CARDqGetTSFOffset(u8 byRxRate, u64 qwTSF1, u64 qwTSF2);
u64 CARDqGetTSFOffset(u8 byRxRate, u64 qwTSF1, u64 qwTSF2);
int CARDbRadioPowerOff(struct vnt_private *pDevice);
int CARDbRadioPowerOff(struct vnt_private *pDevice);
int CARDbRadioPowerOn(struct vnt_private *pDevice);
int CARDbRadioPowerOn(struct vnt_private *pDevice);
u8 CARDbyGetPktType(struct vnt_private *pDevice);
u8 vnt_get_pkt_type(struct vnt_private *);
void CARDvSetBSSMode(struct vnt_private *pDevice);
void CARDvSetBSSMode(struct vnt_private *pDevice);


#endif /* __CARD_H__ */
#endif /* __CARD_H__ */