From 622d501862c5a237311b22f3a33e094d07626762 Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Fri, 3 Jul 2009 16:06:05 +0200 Subject: Staging: rtl8192su: remove ENABLE_DOT11D ifdefs Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8192su/r8192S_phy.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drivers/staging/rtl8192su/r8192S_phy.c') diff --git a/drivers/staging/rtl8192su/r8192S_phy.c b/drivers/staging/rtl8192su/r8192S_phy.c index 5e922cb50c2..e2c9ed20287 100644 --- a/drivers/staging/rtl8192su/r8192S_phy.c +++ b/drivers/staging/rtl8192su/r8192S_phy.c @@ -47,9 +47,7 @@ #include "r819xU_phyreg.h" #endif -#ifdef ENABLE_DOT11D #include "ieee80211/dot11d.h" -#endif /*---------------------------Define Local Constant---------------------------*/ /* Channel switch:The size of command tables for switch channel*/ @@ -3691,13 +3689,11 @@ phy_SwChnlStepByStep( //RT_ASSERT(IsLegalChannel(dev, channel), ("illegal channel: %d\n", channel)); RT_TRACE(COMP_CH, "===========>%s(), channel:%d, stage:%d, step:%d\n", __FUNCTION__, channel, *stage, *step); //RT_ASSERT((pHalData != NULL), ("pHalData should not be NULL\n")); -#ifdef ENABLE_DOT11D if (!IsLegalChannel(priv->ieee80211, channel)) { RT_TRACE(COMP_ERR, "=============>set to illegal channel:%d\n", channel); return true; //return true to tell upper caller function this channel setting is finished! Or it will in while loop. } -#endif //pChnlAccessSetting = &Adapter->MgntInfo.Info8185.ChannelAccessSetting; //RT_ASSERT((pChnlAccessSetting != NULL), ("pChnlAccessSetting should not be NULL\n")); -- cgit v1.2.3