Skip to content

Commit

Permalink
staging: rtl8192e: Remove dead code from removal of ENABLE_TKIP11N
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent 0e3b183 commit e755463
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/rtl8192e/rtllib_softmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e755463

Please sign in to comment.