diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-13 09:35:45 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-23 20:33:14 -0500 |
commit | 2b259bd38fdfdf6a4103234172eafc13d7f774b6 (patch) | |
tree | e65e14a6f6b636e263d0f8efc90585aac5a76dd1 /drivers/staging/rtl8192e/rtllib_softmac_wx.c | |
parent | 5b774ec296657f219890adb274e7455ec2e21af6 (diff) | |
download | linux-2b259bd38fdfdf6a4103234172eafc13d7f774b6.tar.bz2 |
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/rtllib_softmac_wx.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib_softmac_wx.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac_wx.c b/drivers/staging/rtl8192e/rtllib_softmac_wx.c index 01f22045000d..fc3dafc50790 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac_wx.c +++ b/drivers/staging/rtl8192e/rtllib_softmac_wx.c @@ -16,9 +16,7 @@ #include "rtllib.h" #include "rtl_core.h" -#ifdef ENABLE_DOT11D #include "dot11d.h" -#endif /* FIXME: add A freqs */ const long rtllib_wlan_frequencies[] = { @@ -64,12 +62,10 @@ int rtllib_wx_set_freq(struct rtllib_device *ieee, struct iw_request_info *a, }else { /* Set the channel */ -#ifdef ENABLE_DOT11D if (ieee->active_channel_map[fwrq->m] != 1) { ret = -EINVAL; goto out; } -#endif ieee->current_network.channel = fwrq->m; ieee->set_chan(ieee->dev, ieee->current_network.channel); |