mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 14:53:05 +00:00
rtl8188eu: Remove dead code inside #if 0
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
2d60bad9ad
commit
b6b121512b
56 changed files with 121 additions and 6115 deletions
|
@ -490,22 +490,6 @@ static void update_attrib_vcs_info(struct adapter *padapter, struct xmit_frame *
|
|||
{
|
||||
while (_TRUE)
|
||||
{
|
||||
#if 0 //Todo
|
||||
//check IOT action
|
||||
if(pHTInfo->IOTAction & HT_IOT_ACT_FORCED_CTS2SELF)
|
||||
{
|
||||
pattrib->vcs_mode = CTS_TO_SELF;
|
||||
pattrib->rts_rate = MGN_24M;
|
||||
break;
|
||||
}
|
||||
else if(pHTInfo->IOTAction & (HT_IOT_ACT_FORCED_RTS|HT_IOT_ACT_PURE_N_MODE))
|
||||
{
|
||||
pattrib->vcs_mode = RTS_CTS;
|
||||
pattrib->rts_rate = MGN_24M;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
//IOT action
|
||||
if((pmlmeinfo->assoc_AP_vendor == HT_IOT_PEER_ATHEROS) && (pattrib->ampdu_en==_TRUE) &&
|
||||
(padapter->securitypriv.dot11PrivacyAlgrthm == _AES_ ))
|
||||
|
@ -3146,25 +3130,6 @@ int rtw_br_client_tx(struct adapter *padapter, struct sk_buff **pskb)
|
|||
*((unsigned short *)(skb->data+MACADDRLEN*2+2)) = vlan_hdr;
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
else{
|
||||
if (*((unsigned short *)(skb->data+MACADDRLEN*2)) == __constant_htons(ETH_P_8021Q)) {
|
||||
is_vlan_tag = 1;
|
||||
}
|
||||
|
||||
if(is_vlan_tag){
|
||||
if(ICMPV6_MCAST_MAC(skb->data) && ICMPV6_PROTO1A_VALN(skb->data)){
|
||||
memcpy(skb->data+MACADDRLEN, GET_MY_HWADDR(padapter), MACADDRLEN);
|
||||
}
|
||||
}else
|
||||
{
|
||||
if(ICMPV6_MCAST_MAC(skb->data) && ICMPV6_PROTO1A(skb->data)){
|
||||
memcpy(skb->data+MACADDRLEN, GET_MY_HWADDR(padapter), MACADDRLEN);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // 0
|
||||
|
||||
// check if SA is equal to our MAC
|
||||
if (memcmp(skb->data+MACADDRLEN, GET_MY_HWADDR(padapter), MACADDRLEN)) {
|
||||
//priv->ext_stats.tx_drops++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue