diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-11-07 19:06:02 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-26 13:36:53 -0800 |
commit | a558e3dcc38e7bb85ee052cd7c7ed44e6b40c85a (patch) | |
tree | c58706f9045a97e1aa02939537224fc21254b168 /drivers/staging/vt6655/card.c | |
parent | b930eb56e381b11fbf93c4c25fc441eddc22b1cb (diff) | |
download | linux-stable-a558e3dcc38e7bb85ee052cd7c7ed44e6b40c85a.tar.gz linux-stable-a558e3dcc38e7bb85ee052cd7c7ed44e6b40c85a.tar.bz2 linux-stable-a558e3dcc38e7bb85ee052cd7c7ed44e6b40c85a.zip |
staging: vt6655: CARDbSetPhyParameter change CARD_PHY_TYPE to bb_type
using u8 for bb_type
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/card.c')
-rw-r--r-- | drivers/staging/vt6655/card.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/card.c b/drivers/staging/vt6655/card.c index 7b2596960dc4..6a1efd152e36 100644 --- a/drivers/staging/vt6655/card.c +++ b/drivers/staging/vt6655/card.c @@ -204,7 +204,7 @@ s_vCalculateOFDMRParameter( * * Return Value: None. */ -bool CARDbSetPhyParameter(struct vnt_private *pDevice, CARD_PHY_TYPE ePHYType, +bool CARDbSetPhyParameter(struct vnt_private *pDevice, u8 bb_type, unsigned short wCapInfo, unsigned char byERPField, void *pvSupportRateIEs, void *pvExtSupportRateIEs) { @@ -216,7 +216,7 @@ bool CARDbSetPhyParameter(struct vnt_private *pDevice, CARD_PHY_TYPE ePHYType, int i; /* Set SIFS, DIFS, EIFS, SlotTime, CwMin */ - if (ePHYType == PHY_TYPE_11A) { + if (bb_type == BB_TYPE_11A) { if (pDevice->byRFType == RF_AIROHA7230) { /* AL7230 use single PAPE and connect to PAPE_2.4G */ MACvSetBBType(pDevice->PortOffset, BB_TYPE_11G); @@ -243,7 +243,7 @@ bool CARDbSetPhyParameter(struct vnt_private *pDevice, CARD_PHY_TYPE ePHYType, bySIFS = C_SIFS_A; byDIFS = C_SIFS_A + 2*C_SLOT_SHORT; byCWMaxMin = 0xA4; - } else if (ePHYType == PHY_TYPE_11B) { + } else if (bb_type == BB_TYPE_11B) { MACvSetBBType(pDevice->PortOffset, BB_TYPE_11B); if (pDevice->byRFType == RF_AIROHA7230) { pDevice->abyBBVGA[0] = 0x1C; @@ -344,7 +344,7 @@ bool CARDbSetPhyParameter(struct vnt_private *pDevice, CARD_PHY_TYPE ePHYType, pDevice->byPacketType = CARDbyGetPktType(pDevice); - CARDvSetRSPINF(pDevice, ePHYType); + CARDvSetRSPINF(pDevice, bb_type); return true; } |