summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/r8192E_phy.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-07-13 09:35:45 -0500
committerLarry Finger <Larry.Finger@lwfinger.net>2011-08-23 20:33:14 -0500
commit2b259bd38fdfdf6a4103234172eafc13d7f774b6 (patch)
treee65e14a6f6b636e263d0f8efc90585aac5a76dd1 /drivers/staging/rtl8192e/r8192E_phy.c
parent5b774ec296657f219890adb274e7455ec2e21af6 (diff)
downloadop-kernel-dev-2b259bd38fdfdf6a4103234172eafc13d7f774b6.zip
op-kernel-dev-2b259bd38fdfdf6a4103234172eafc13d7f774b6.tar.gz
staging: rtl8192e: Remove ifdefs that depend on ENABLE_DOT11D
This configuration parameter is selected in the Makefile, thus the conditional code can be removed. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/r8192E_phy.c')
-rw-r--r--drivers/staging/rtl8192e/r8192E_phy.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/r8192E_phy.c
index 8224a56..c462d74 100644
--- a/drivers/staging/rtl8192e/r8192E_phy.c
+++ b/drivers/staging/rtl8192e/r8192E_phy.c
@@ -23,9 +23,7 @@
#include "r8190P_rtl8256.h"
#include "r8192E_phy.h"
#include "rtl_dm.h"
-#ifdef ENABLE_DOT11D
#include "dot11d.h"
-#endif
#include "r8192E_hwimg.h"
@@ -871,13 +869,11 @@ u8 rtl8192_phy_SwChnlStepByStep(struct net_device *dev, u8 channel, u8* stage, u
RT_TRACE(COMP_TRACE, "====>%s()====stage:%d, step:%d, channel:%d\n", __func__, *stage, *step, channel);
-#ifdef ENABLE_DOT11D
if (!IsLegalChannel(priv->rtllib, channel))
{
RT_TRACE(COMP_ERR, "=============>set to illegal channel:%d\n", channel);
return true;
}
-#endif
{
PreCommonCmdCnt = 0;
OpenPOWER on IntegriCloud