Commit e755463c authored by Larry Finger's avatar Larry Finger

staging: rtl8192e: Remove dead code from removal of ENABLE_TKIP11N

Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
parent 0e3b1830
...@@ -1273,11 +1273,7 @@ inline struct sk_buff *rtllib_association_req(struct rtllib_network *beacon,stru ...@@ -1273,11 +1273,7 @@ inline struct sk_buff *rtllib_association_req(struct rtllib_network *beacon,stru
encrypt = 0; 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)) if ((ieee->rtllib_ap_sec_type && (ieee->rtllib_ap_sec_type(ieee)&SEC_ALG_TKIP)) ||(ieee->bForcedBgMode == true))
#endif
{ {
ieee->pHTInfo->bEnableHT = 0; ieee->pHTInfo->bEnableHT = 0;
ieee->mode = WIRELESS_MODE_G; ieee->mode = WIRELESS_MODE_G;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment