Commit bfb6c863 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6655: CARDbSetPhyParameter remove unused parameters

wCapInfo
byERPField,
*pvSupportRateIEs
*pvExtSupportRateIEs
Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b40d821d
...@@ -204,9 +204,7 @@ s_vCalculateOFDMRParameter( ...@@ -204,9 +204,7 @@ s_vCalculateOFDMRParameter(
* *
* Return Value: None. * Return Value: None.
*/ */
bool CARDbSetPhyParameter(struct vnt_private *pDevice, u8 bb_type, bool CARDbSetPhyParameter(struct vnt_private *pDevice, u8 bb_type)
unsigned short wCapInfo, unsigned char byERPField,
void *pvSupportRateIEs, void *pvExtSupportRateIEs)
{ {
unsigned char byCWMaxMin = 0; unsigned char byCWMaxMin = 0;
unsigned char bySlot = 0; unsigned char bySlot = 0;
......
...@@ -82,9 +82,7 @@ void CARDvSafeResetTx(struct vnt_private *); ...@@ -82,9 +82,7 @@ void CARDvSafeResetTx(struct vnt_private *);
void CARDvSafeResetRx(struct vnt_private *); void CARDvSafeResetRx(struct vnt_private *);
bool CARDbRadioPowerOff(struct vnt_private *); bool CARDbRadioPowerOff(struct vnt_private *);
bool CARDbRadioPowerOn(struct vnt_private *); bool CARDbRadioPowerOn(struct vnt_private *);
bool CARDbSetPhyParameter(struct vnt_private *, u8, bool CARDbSetPhyParameter(struct vnt_private *, u8);
unsigned short wCapInfo, unsigned char byERPField,
void *pvSupportRateIEs, void *pvExtSupportRateIEs);
bool CARDbUpdateTSF(struct vnt_private *, unsigned char byRxRate, bool CARDbUpdateTSF(struct vnt_private *, unsigned char byRxRate,
u64 qwBSSTimestamp, u64 qwLocalTSF); u64 qwBSSTimestamp, u64 qwLocalTSF);
bool CARDbSetBeaconPeriod(struct vnt_private *, unsigned short wBeaconInterval); bool CARDbSetBeaconPeriod(struct vnt_private *, unsigned short wBeaconInterval);
......
...@@ -1425,8 +1425,7 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed) ...@@ -1425,8 +1425,7 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed)
if (priv->byBBType != bb_type) { if (priv->byBBType != bb_type) {
priv->byBBType = bb_type; priv->byBBType = bb_type;
CARDbSetPhyParameter(priv, CARDbSetPhyParameter(priv, priv->byBBType);
priv->byBBType, 0, 0, NULL, NULL);
} }
} }
...@@ -1487,7 +1486,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw, ...@@ -1487,7 +1486,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
priv->bShortSlotTime = false; priv->bShortSlotTime = false;
vUpdateIFS(priv); vUpdateIFS(priv);
CARDbSetPhyParameter(priv, priv->byBBType, 0, 0, NULL, NULL); CARDbSetPhyParameter(priv, priv->byBBType);
BBvSetVGAGainOffset(priv, priv->abyBBVGA[0]); BBvSetVGAGainOffset(priv, priv->abyBBVGA[0]);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment