[PATCH 36/61] staging: rtl8192e: Remove dead code associated with ADHOC_11N

Larry Finger Larry.Finger at lwfinger.net
Tue Aug 23 20:44:47 PDT 2011


Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
---
 drivers/staging/rtl8192e/rtllib_softmac.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
index a5267b2..420ba43 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -2780,11 +2780,7 @@ void rtllib_start_ibss_wq(void *data)
 	}
 
 	ieee->state = RTLLIB_NOLINK;
-#ifdef ADHOC_11N
-	ieee->mode = IEEE_N_24G;
-#else
 	ieee->mode = IEEE_G;
-#endif
 	/* check if we have this cell in our network list */
 	rtllib_softmac_check_all_nets(ieee);
 
-- 
1.7.3.4



More information about the devel mailing list