]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
staging: rtl8192e: Remove dead code associated with ADHOC_11N
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 14 Jul 2011 03:05:57 +0000 (22:05 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 01:56:14 +0000 (20:56 -0500)
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtllib_softmac.c

index a5267b24630260539b715051129efc7d250b05be..420ba4398bc149f3c8605bdeb883fd6db0c2dbf6 100644 (file)
@@ -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);