提交 7765e89d 编写于 作者: B Bartlomiej Zolnierkiewicz 提交者: Greg Kroah-Hartman

Staging: rt28x0: fix BPP_R66 register handling

Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 74eaa42b
...@@ -2077,7 +2077,6 @@ VOID RTMPResumeMsduTransmission( ...@@ -2077,7 +2077,6 @@ VOID RTMPResumeMsduTransmission(
{ {
DBGPRINT(RT_DEBUG_TRACE,("SCAN done, resume MSDU transmission ...\n")); DBGPRINT(RT_DEBUG_TRACE,("SCAN done, resume MSDU transmission ...\n"));
#ifdef RT30xx
// After finish BSS_SCAN_IN_PROGRESS, we need to restore Current R66 value // After finish BSS_SCAN_IN_PROGRESS, we need to restore Current R66 value
// R66 should not be 0 // R66 should not be 0
if (pAd->BbpTuning.R66CurrentValue == 0) if (pAd->BbpTuning.R66CurrentValue == 0)
...@@ -2085,7 +2084,7 @@ VOID RTMPResumeMsduTransmission( ...@@ -2085,7 +2084,7 @@ VOID RTMPResumeMsduTransmission(
pAd->BbpTuning.R66CurrentValue = 0x38; pAd->BbpTuning.R66CurrentValue = 0x38;
DBGPRINT_ERR(("RTMPResumeMsduTransmission, R66CurrentValue=0...\n")); DBGPRINT_ERR(("RTMPResumeMsduTransmission, R66CurrentValue=0...\n"));
} }
#endif
RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R66, pAd->BbpTuning.R66CurrentValue); RTMP_BBP_IO_WRITE8_BY_REG_ID(pAd, BBP_R66, pAd->BbpTuning.R66CurrentValue);
RTMP_CLEAR_FLAG(pAd, fRTMP_ADAPTER_BSS_SCAN_IN_PROGRESS); RTMP_CLEAR_FLAG(pAd, fRTMP_ADAPTER_BSS_SCAN_IN_PROGRESS);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册