diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-06-28 14:18:44 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:28 (GMT) |
commit | 5212499a7a41822496c3a62abae6fe103d308f18 (patch) | |
tree | 8125c5efde0922aa0d8730c7eb77fe470984a129 /drivers/staging/rtl8187se/r8180_rtl8225z2.c | |
parent | 0bd2f8efe94ab4e6ef630a311dfd58812c80b653 (diff) | |
download | linux-fsl-qoriq-5212499a7a41822496c3a62abae6fe103d308f18.tar.xz |
Staging: rtl8187se: remove ENABLE_DOT11D ifdefs
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8187se/r8180_rtl8225z2.c')
-rw-r--r-- | drivers/staging/rtl8187se/r8180_rtl8225z2.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/rtl8187se/r8180_rtl8225z2.c b/drivers/staging/rtl8187se/r8180_rtl8225z2.c index 01cc746..514ebdf 100644 --- a/drivers/staging/rtl8187se/r8180_rtl8225z2.c +++ b/drivers/staging/rtl8187se/r8180_rtl8225z2.c @@ -14,9 +14,7 @@ #include "r8180_rtl8225.h" #include "r8180_93cx6.h" -#ifdef ENABLE_DOT11D #include "ieee80211/dot11d.h" -#endif #ifdef CONFIG_RTL8185B @@ -431,7 +429,6 @@ void rtl8225z2_rf_close(struct net_device *dev) rtl8185_set_anaparam2(dev, RTL8225z2_ANAPARAM2_OFF); } -#ifdef ENABLE_DOT11D // // Description: // Map dBm into Tx power index according to @@ -502,7 +499,6 @@ DbmToTxPwrIdx( return TxPwrIdx; } -#endif void rtl8225z2_SetTXPowerLevel(struct net_device *dev, short ch) { @@ -554,7 +550,6 @@ void rtl8225z2_SetTXPowerLevel(struct net_device *dev, short ch) CckTxPwrIdx, OfdmTxPwrIdx); } #endif -#ifdef ENABLE_DOT11D if(IS_DOT11D_ENABLE(priv->ieee80211) && IS_DOT11D_STATE_DONE(priv->ieee80211) ) { @@ -576,7 +571,6 @@ void rtl8225z2_SetTXPowerLevel(struct net_device *dev, short ch) //priv->CurrentCckTxPwrIdx = cck_power_level; //priv->CurrentOfdmTxPwrIdx = ofdm_power_level; -#endif max_cck_power_level = 15; max_ofdm_power_level = 25; // 12 -> 25 |