summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192e/rtllib_softmac.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-07-13 05:13:20 (GMT)
committerLarry Finger <Larry.Finger@lwfinger.net>2011-08-24 01:25:38 (GMT)
commite755463c216b76f07692a83c6cd7197fa31e5d89 (patch)
tree53ad6b16098c4bfd6053582dbc9635a83c0b8456 /drivers/staging/rtl8192e/rtllib_softmac.c
parent0e3b1830591d7d5460e2346cdb535d209de2cab9 (diff)
downloadlinux-fsl-qoriq-e755463c216b76f07692a83c6cd7197fa31e5d89.tar.xz
staging: rtl8192e: Remove dead code from removal of ENABLE_TKIP11N
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_softmac.c')
-rw-r--r--drivers/staging/rtl8192e/rtllib_softmac.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
index 3cbfdeb..1d35044 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -1273,11 +1273,7 @@ inline struct sk_buff *rtllib_association_req(struct rtllib_network *beacon,stru
encrypt = 0;
}
-#ifdef ENABLE_TKIP11N
- if (ieee->bForcedBgMode == true)
-#else
if ((ieee->rtllib_ap_sec_type && (ieee->rtllib_ap_sec_type(ieee)&SEC_ALG_TKIP)) ||(ieee->bForcedBgMode == true))
-#endif
{
ieee->pHTInfo->bEnableHT = 0;
ieee->mode = WIRELESS_MODE_G;