Skip to content

Commit

Permalink
Staging: rtl8192su: remove RTL8192S_DISABLE_FW_DM ifdefs
Browse files Browse the repository at this point in the history
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent f063ba7 commit b8bd14b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion drivers/staging/rtl8192su/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ EXTRA_CFLAGS += -DRTL8190_Download_Firmware_From_Header=1
EXTRA_CFLAGS += -DRTL8192S_PREPARE_FOR_NORMAL_RELEASE
EXTRA_CFLAGS += -DRTL8192SU_DISABLE_IQK=1

EXTRA_CFLAGS += -DRTL8192S_DISABLE_FW_DM=0
EXTRA_CFLAGS += -DDISABLE_BB_RF=0
EXTRA_CFLAGS += -DRTL8192SU_USE_PARAM_TXPWR=0
EXTRA_CFLAGS += -DRTL8192SU_FPGA_UNSPECIFIED_NETWORK=0
Expand Down
4 changes: 0 additions & 4 deletions drivers/staging/rtl8192su/ieee80211/ieee80211_softmac_wx.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,11 @@ void ieee80211_wx_sync_scan_wq(struct work_struct *work)
#ifndef RTL8192SE
ieee->InitialGainHandler(ieee->dev,IG_Backup);
#endif
#if(RTL8192S_DISABLE_FW_DM == 0)
if (ieee->SetFwCmdHandler)
{
ieee->SetFwCmdHandler(ieee->dev, FW_CMD_DIG_HALT);
ieee->SetFwCmdHandler(ieee->dev, FW_CMD_HIGH_PWR_DISABLE);
}
#endif
if (ieee->pHTInfo->bCurrentHTSupport && ieee->pHTInfo->bEnableHT && ieee->pHTInfo->bCurBW40MHz) {
b40M = 1;
chan_offset = ieee->pHTInfo->CurSTAExtChnlOffset;
Expand All @@ -361,13 +359,11 @@ void ieee80211_wx_sync_scan_wq(struct work_struct *work)
#ifndef RTL8192SE
ieee->InitialGainHandler(ieee->dev,IG_Restore);
#endif
#if(RTL8192S_DISABLE_FW_DM == 0)
if (ieee->SetFwCmdHandler)
{
ieee->SetFwCmdHandler(ieee->dev, FW_CMD_DIG_RESUME);
ieee->SetFwCmdHandler(ieee->dev, FW_CMD_HIGH_PWR_ENABLE);
}
#endif
ieee->state = IEEE80211_LINKED;
ieee->link_change(ieee->dev);
// To prevent the immediately calling watch_dog after scan.
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/rtl8192su/r8192S_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -3074,7 +3074,6 @@ PHY_ScanOperationBackup8192S(



#if(RTL8192S_DISABLE_FW_DM == 0)

if(!Adapter->bDriverStopped)
{
Expand Down Expand Up @@ -3103,7 +3102,6 @@ PHY_ScanOperationBackup8192S(
break;
}
}
#endif
}
#endif

Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/rtl8192su/r8192U_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -7014,9 +7014,6 @@ bool rtl8192SU_adapter_start(struct net_device *dev)
//
rtl8192SU_MacConfigAfterFwDownload(dev);

#if (RTL8192S_DISABLE_FW_DM == 1)
write_nic_dword(dev, WFM5, FW_DM_DISABLE);
#endif
//priv->bLbusEnable = TRUE;
//if(priv->RegRfOff == TRUE)
// priv->eRFPowerState = eRfOff;
Expand Down

0 comments on commit b8bd14b

Please sign in to comment.