From: Larry Finger Date: Thu, 14 Jul 2011 03:05:57 +0000 (-0500) Subject: staging: rtl8192e: Remove dead code associated with ADHOC_11N X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=07f432338accafb2002911a34309d822e168074a;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Remove dead code associated with ADHOC_11N Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index a5267b246302..420ba4398bc1 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);